diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-04-01 17:02:45 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-04-02 09:50:45 +0100 |
commit | 045ab94e10ee17038066d71abc8fdce719ab56f9 (patch) | |
tree | 4792e1db4af20c88bf88a4f8adb280de1b766fdf /arch/arm/kernel/hibernate.c | |
parent | 767bf7e7a1e82a81c59778348d156993d0a6175d (diff) | |
download | talos-obmc-linux-045ab94e10ee17038066d71abc8fdce719ab56f9.tar.gz talos-obmc-linux-045ab94e10ee17038066d71abc8fdce719ab56f9.zip |
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.c | 1 |
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; |