summaryrefslogtreecommitdiff
path: root/arch/arm/kernel/hibernate.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2015-04-01 19:02:45 +0300
committerRussell King <rmk+kernel@arm.linux.org.uk>2015-04-02 11:50:45 +0300
commit045ab94e10ee17038066d71abc8fdce719ab56f9 (patch)
tree4792e1db4af20c88bf88a4f8adb280de1b766fdf /arch/arm/kernel/hibernate.c
parent767bf7e7a1e82a81c59778348d156993d0a6175d (diff)
downloadlinux-045ab94e10ee17038066d71abc8fdce719ab56f9.tar.xz
ARM: move reboot code to arch/arm/kernel/reboot.c
Move shutdown and reboot related code to a separate file, out of process.c. This helps to avoid polluting process.c with non-process related code. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/hibernate.c')
-rw-r--r--arch/arm/kernel/hibernate.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/kernel/hibernate.c b/arch/arm/kernel/hibernate.c
index cfb354ff2a60..a71501ff6f18 100644
--- a/arch/arm/kernel/hibernate.c
+++ b/arch/arm/kernel/hibernate.c
@@ -100,7 +100,6 @@ static u64 resume_stack[PAGE_SIZE/2/sizeof(u64)] __nosavedata;
*/
int swsusp_arch_resume(void)
{
- extern void call_with_stack(void (*fn)(void *), void *arg, void *sp);
call_with_stack(arch_restore_image, 0,
resume_stack + ARRAY_SIZE(resume_stack));
return 0;