aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/hibernate.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2015-04-01 12:02:45 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2015-04-02 04:50:45 -0400
commit045ab94e10ee17038066d71abc8fdce719ab56f9 (patch)
tree4792e1db4af20c88bf88a4f8adb280de1b766fdf /arch/arm/kernel/hibernate.c
parent767bf7e7a1e82a81c59778348d156993d0a6175d (diff)
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;
100 */ 100 */
101int swsusp_arch_resume(void) 101int swsusp_arch_resume(void)
102{ 102{
103 extern void call_with_stack(void (*fn)(void *), void *arg, void *sp);
104 call_with_stack(arch_restore_image, 0, 103 call_with_stack(arch_restore_image, 0,
105 resume_stack + ARRAY_SIZE(resume_stack)); 104 resume_stack + ARRAY_SIZE(resume_stack));
106 return 0; 105 return 0;