summaryrefslogtreecommitdiff
path: root/arch/arm/kernel/reboot.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2015-04-01 17:02:45 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2015-04-02 09:50:45 +0100
commit045ab94e10ee17038066d71abc8fdce719ab56f9 (patch)
tree4792e1db4af20c88bf88a4f8adb280de1b766fdf /arch/arm/kernel/reboot.h
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/reboot.h')
-rw-r--r--arch/arm/kernel/reboot.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/kernel/reboot.h b/arch/arm/kernel/reboot.h
index c87f05816d6b..bf7a0b1f076e 100644
--- a/arch/arm/kernel/reboot.h
+++ b/arch/arm/kernel/reboot.h
@@ -1,6 +1,7 @@
#ifndef REBOOT_H
#define REBOOT_H
+extern void call_with_stack(void (*fn)(void *), void *arg, void *sp);
extern void _soft_restart(unsigned long addr, bool disable_l2);
#endif