[PATCH v2 1/4] PM: hibernate: Declare hibernate_relaxed_memmap
Marco Scardovi <[email protected]> Tue, 23 Jun 2026 18:47:27 +0200
| Newsgroups | dev.linux.lists.regressions,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pm |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> --- 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