aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/suspend.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/suspend.h')
-rw-r--r--include/linux/suspend.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/suspend.h b/include/linux/suspend.h
index f73cabf59012..38bbf95109da 100644
--- a/include/linux/suspend.h
+++ b/include/linux/suspend.h
@@ -320,6 +320,8 @@ extern unsigned long get_safe_page(gfp_t gfp_mask);
320extern void hibernation_set_ops(const struct platform_hibernation_ops *ops); 320extern void hibernation_set_ops(const struct platform_hibernation_ops *ops);
321extern int hibernate(void); 321extern int hibernate(void);
322extern bool system_entering_hibernation(void); 322extern bool system_entering_hibernation(void);
323asmlinkage int swsusp_save(void);
324extern struct pbe *restore_pblist;
323#else /* CONFIG_HIBERNATION */ 325#else /* CONFIG_HIBERNATION */
324static inline void register_nosave_region(unsigned long b, unsigned long e) {} 326static inline void register_nosave_region(unsigned long b, unsigned long e) {}
325static inline void register_nosave_region_late(unsigned long b, unsigned long e) {} 327static inline void register_nosave_region_late(unsigned long b, unsigned long e) {}