diff options
Diffstat (limited to 'arch/s390/kernel/setup.c')
-rw-r--r-- | arch/s390/kernel/setup.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/s390/kernel/setup.c b/arch/s390/kernel/setup.c index 5d8ee3baac14..1cbf956cb6b3 100644 --- a/arch/s390/kernel/setup.c +++ b/arch/s390/kernel/setup.c | |||
@@ -38,6 +38,7 @@ | |||
38 | #include <linux/device.h> | 38 | #include <linux/device.h> |
39 | #include <linux/notifier.h> | 39 | #include <linux/notifier.h> |
40 | #include <linux/pfn.h> | 40 | #include <linux/pfn.h> |
41 | #include <linux/reboot.h> | ||
41 | 42 | ||
42 | #include <asm/uaccess.h> | 43 | #include <asm/uaccess.h> |
43 | #include <asm/system.h> | 44 | #include <asm/system.h> |
@@ -117,7 +118,7 @@ void __devinit cpu_init (void) | |||
117 | */ | 118 | */ |
118 | char vmhalt_cmd[128] = ""; | 119 | char vmhalt_cmd[128] = ""; |
119 | char vmpoff_cmd[128] = ""; | 120 | char vmpoff_cmd[128] = ""; |
120 | char vmpanic_cmd[128] = ""; | 121 | static char vmpanic_cmd[128] = ""; |
121 | 122 | ||
122 | static inline void strncpy_skip_quote(char *dst, char *src, int n) | 123 | static inline void strncpy_skip_quote(char *dst, char *src, int n) |
123 | { | 124 | { |
@@ -275,10 +276,6 @@ static void __init conmode_default(void) | |||
275 | } | 276 | } |
276 | 277 | ||
277 | #ifdef CONFIG_SMP | 278 | #ifdef CONFIG_SMP |
278 | extern void machine_restart_smp(char *); | ||
279 | extern void machine_halt_smp(void); | ||
280 | extern void machine_power_off_smp(void); | ||
281 | |||
282 | void (*_machine_restart)(char *command) = machine_restart_smp; | 279 | void (*_machine_restart)(char *command) = machine_restart_smp; |
283 | void (*_machine_halt)(void) = machine_halt_smp; | 280 | void (*_machine_halt)(void) = machine_halt_smp; |
284 | void (*_machine_power_off)(void) = machine_power_off_smp; | 281 | void (*_machine_power_off)(void) = machine_power_off_smp; |