aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/power/swsusp.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2007-11-19 17:36:20 -0500
committerLen Brown <len.brown@intel.com>2008-02-01 18:30:53 -0500
commit2f8ed1c60b06b797bf79a1dc540f0bed8c9d75a0 (patch)
treebf9157cf84a53b0ee74ba1e2b5bd9417589b9226 /kernel/power/swsusp.c
parent964756a52f4cf0417d515b7f01eec69db8cb0fe2 (diff)
Hibernation: Move function prototypes to header
This patch moves the prototypes of count_highmem_pages() and restore_highmem() to kernel/power/power.h Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'kernel/power/swsusp.c')
-rw-r--r--kernel/power/swsusp.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/kernel/power/swsusp.c b/kernel/power/swsusp.c
index e1722d3155f1..605c536795ba 100644
--- a/kernel/power/swsusp.c
+++ b/kernel/power/swsusp.c
@@ -64,14 +64,6 @@ unsigned long image_size = 500 * 1024 * 1024;
64 64
65int in_suspend __nosavedata = 0; 65int in_suspend __nosavedata = 0;
66 66
67#ifdef CONFIG_HIGHMEM
68unsigned int count_highmem_pages(void);
69int restore_highmem(void);
70#else
71static inline int restore_highmem(void) { return 0; }
72static inline unsigned int count_highmem_pages(void) { return 0; }
73#endif
74
75/** 67/**
76 * The following functions are used for tracing the allocated 68 * The following functions are used for tracing the allocated
77 * swap pages, so that they can be freed in case of an error. 69 * swap pages, so that they can be freed in case of an error.