summaryrefslogtreecommitdiffstats
path: root/arch/x86/power/hibernate_64.c
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2009-04-01 00:23:37 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-01 17:59:16 +0200
commita8af78982ff4c0b3731527b0217d286a343a3089 (patch)
tree10f0ebe13c999dd54efdf79ff606b65e7952b69d /arch/x86/power/hibernate_64.c
parentalpha: convert u64 to unsigned long long (diff)
downloadlinux-a8af78982ff4c0b3731527b0217d286a343a3089.tar.xz
linux-a8af78982ff4c0b3731527b0217d286a343a3089.zip
pm: rework includes, remove arch ifdefs
Make the following header file changes: - remove arch ifdefs and asm/suspend.h from linux/suspend.h - add asm/suspend.h to disk.c (for arch_prepare_suspend()) - add linux/io.h to swsusp.c (for ioremap()) - x86 32/64 bit compile fixes Signed-off-by: Magnus Damm <damm@igel.co.jp> Cc: Paul Mundt <lethal@linux-sh.org> Acked-by: "Rafael J. Wysocki" <rjw@sisk.pl> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86/power/hibernate_64.c')
-rw-r--r--arch/x86/power/hibernate_64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/power/hibernate_64.c b/arch/x86/power/hibernate_64.c
index 6dd000dd7933..65fdc86e923f 100644
--- a/arch/x86/power/hibernate_64.c
+++ b/arch/x86/power/hibernate_64.c
@@ -14,6 +14,7 @@
#include <asm/page.h>
#include <asm/pgtable.h>
#include <asm/mtrr.h>
+#include <asm/suspend.h>
/* References to section boundaries */
extern const void __nosave_begin, __nosave_end;