summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2011-05-24 23:35:55 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2011-05-24 23:35:55 +0200
commit354258011e8e86961f7a72ad154ca8caf0c4c6f7 (patch)
treee1c680e692a9cdddaabece1fe73dd85928bd1b23 /arch/powerpc
parent4e2d9491a78929badcf774869b458486acb96365 (diff)
downloadlinux-354258011e8e86961f7a72ad154ca8caf0c4c6f7.tar.gz
linux-354258011e8e86961f7a72ad154ca8caf0c4c6f7.tar.bz2
linux-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/powerpc')
-rw-r--r--arch/powerpc/include/asm/suspend.h6
-rw-r--r--arch/powerpc/kernel/swsusp.c1
2 files changed, 0 insertions, 7 deletions
diff --git a/arch/powerpc/include/asm/suspend.h b/arch/powerpc/include/asm/suspend.h
deleted file mode 100644
index c6efc3466aa6..000000000000
--- a/arch/powerpc/include/asm/suspend.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef __ASM_POWERPC_SUSPEND_H
-#define __ASM_POWERPC_SUSPEND_H
-
-static inline int arch_prepare_suspend(void) { return 0; }
-
-#endif /* __ASM_POWERPC_SUSPEND_H */
diff --git a/arch/powerpc/kernel/swsusp.c b/arch/powerpc/kernel/swsusp.c
index 560c96119501..aa17b76dd427 100644
--- a/arch/powerpc/kernel/swsusp.c
+++ b/arch/powerpc/kernel/swsusp.c
@@ -10,7 +10,6 @@
*/
#include <linux/sched.h>
-#include <asm/suspend.h>
#include <asm/system.h>
#include <asm/current.h>
#include <asm/mmu_context.h>