aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/power/power.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/power/power.h')
-rw-r--r--kernel/power/power.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/kernel/power/power.h b/kernel/power/power.h
index 089c84bed895..5d1abffbb9ce 100644
--- a/kernel/power/power.h
+++ b/kernel/power/power.h
@@ -48,7 +48,6 @@ extern asmlinkage int swsusp_arch_suspend(void);
48extern asmlinkage int swsusp_arch_resume(void); 48extern asmlinkage int swsusp_arch_resume(void);
49 49
50extern unsigned int count_data_pages(void); 50extern unsigned int count_data_pages(void);
51extern void swsusp_free(void);
52 51
53struct snapshot_handle { 52struct snapshot_handle {
54 loff_t offset; 53 loff_t offset;
@@ -91,6 +90,11 @@ extern struct bitmap_page *alloc_bitmap(unsigned int nr_bits);
91extern unsigned long alloc_swap_page(int swap, struct bitmap_page *bitmap); 90extern unsigned long alloc_swap_page(int swap, struct bitmap_page *bitmap);
92extern void free_all_swap_pages(int swap, struct bitmap_page *bitmap); 91extern void free_all_swap_pages(int swap, struct bitmap_page *bitmap);
93 92
93extern int swsusp_check(void);
94extern int swsusp_shrink_memory(void); 94extern int swsusp_shrink_memory(void);
95extern void swsusp_free(void);
95extern int swsusp_suspend(void); 96extern int swsusp_suspend(void);
96extern int swsusp_resume(void); 97extern int swsusp_resume(void);
98extern int swsusp_read(void);
99extern int swsusp_write(void);
100extern void swsusp_close(void);