[PATCH v2 1/4] PM: hibernate: Declare hibernate_relaxed_memmap

From: Marco Scardovi

Date: Tue Jun 23 2026 - 12:57:56 EST


Declare the 'hibernate_relaxed_memmap' global variable in
include/linux/suspend.h, which will be used to relax the E820 memory map
integrity check.

Assisted-by: Antigravity:gemini-3.5-flash

Signed-off-by: Marco Scardovi <scardracs@xxxxxxxxxxx>
---
include/linux/suspend.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/linux/suspend.h b/include/linux/suspend.h
index b02876f1ae38..92eb3eb23422 100644
--- a/include/linux/suspend.h
+++ b/include/linux/suspend.h
@@ -393,6 +393,7 @@ extern void hibernation_set_ops(const struct platform_hibernation_ops *ops);
extern int hibernate(void);
extern bool system_entering_hibernation(void);
extern bool hibernation_available(void);
+extern bool hibernate_relaxed_memmap;
asmlinkage int swsusp_save(void);
extern struct pbe *restore_pblist;
int pfn_is_nosave(unsigned long pfn);
--
2.54.0