diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2011-05-24 23:35:55 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-05-24 23:35:55 +0200 |
commit | 354258011e8e86961f7a72ad154ca8caf0c4c6f7 (patch) | |
tree | e1c680e692a9cdddaabece1fe73dd85928bd1b23 /arch/x86 | |
parent | 4e2d9491a78929badcf774869b458486acb96365 (diff) | |
download | linux-3.10-354258011e8e86961f7a72ad154ca8caf0c4c6f7.tar.gz linux-3.10-354258011e8e86961f7a72ad154ca8caf0c4c6f7.tar.bz2 linux-3.10-354258011e8e86961f7a72ad154ca8caf0c4c6f7.zip |
PM / Hibernate: Remove arch_prepare_suspend()
All architectures supporting hibernation define
arch_prepare_suspend() as an empty function, so remove it.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/include/asm/suspend_32.h | 2 | ||||
-rw-r--r-- | arch/x86/include/asm/suspend_64.h | 5 |
2 files changed, 0 insertions, 7 deletions
diff --git a/arch/x86/include/asm/suspend_32.h b/arch/x86/include/asm/suspend_32.h index fd921c3a684..487055c8c1a 100644 --- a/arch/x86/include/asm/suspend_32.h +++ b/arch/x86/include/asm/suspend_32.h @@ -9,8 +9,6 @@ #include <asm/desc.h> #include <asm/i387.h> -static inline int arch_prepare_suspend(void) { return 0; } - /* image of the saved processor state */ struct saved_context { u16 es, fs, gs, ss; diff --git a/arch/x86/include/asm/suspend_64.h b/arch/x86/include/asm/suspend_64.h index 8d942afae68..09b0bf10415 100644 --- a/arch/x86/include/asm/suspend_64.h +++ b/arch/x86/include/asm/suspend_64.h @@ -9,11 +9,6 @@ #include <asm/desc.h> #include <asm/i387.h> -static inline int arch_prepare_suspend(void) -{ - return 0; -} - /* * Image of the saved processor state, used by the low level ACPI suspend to * RAM code and by the low level hibernation code. |