diff options
Diffstat (limited to 'arch/cris')
-rw-r--r-- | arch/cris/kernel/process.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/cris/kernel/process.c b/arch/cris/kernel/process.c index 9f7cad7c7849..a5ad2b675853 100644 --- a/arch/cris/kernel/process.c +++ b/arch/cris/kernel/process.c | |||
@@ -113,6 +113,7 @@ | |||
113 | #include <linux/user.h> | 113 | #include <linux/user.h> |
114 | #include <linux/elfcore.h> | 114 | #include <linux/elfcore.h> |
115 | #include <linux/mqueue.h> | 115 | #include <linux/mqueue.h> |
116 | #include <linux/reboot.h> | ||
116 | 117 | ||
117 | //#define DEBUG | 118 | //#define DEBUG |
118 | 119 | ||
@@ -208,13 +209,11 @@ void cpu_idle (void) | |||
208 | 209 | ||
209 | void hard_reset_now (void); | 210 | void hard_reset_now (void); |
210 | 211 | ||
211 | void machine_restart(void) | 212 | void machine_restart(char *cmd) |
212 | { | 213 | { |
213 | hard_reset_now(); | 214 | hard_reset_now(); |
214 | } | 215 | } |
215 | 216 | ||
216 | EXPORT_SYMBOL(machine_restart); | ||
217 | |||
218 | /* | 217 | /* |
219 | * Similar to machine_power_off, but don't shut off power. Add code | 218 | * Similar to machine_power_off, but don't shut off power. Add code |
220 | * here to freeze the system for e.g. post-mortem debug purpose when | 219 | * here to freeze the system for e.g. post-mortem debug purpose when |
@@ -225,16 +224,12 @@ void machine_halt(void) | |||
225 | { | 224 | { |
226 | } | 225 | } |
227 | 226 | ||
228 | EXPORT_SYMBOL(machine_halt); | ||
229 | |||
230 | /* If or when software power-off is implemented, add code here. */ | 227 | /* If or when software power-off is implemented, add code here. */ |
231 | 228 | ||
232 | void machine_power_off(void) | 229 | void machine_power_off(void) |
233 | { | 230 | { |
234 | } | 231 | } |
235 | 232 | ||
236 | EXPORT_SYMBOL(machine_power_off); | ||
237 | |||
238 | /* | 233 | /* |
239 | * When a process does an "exec", machine state like FPU and debug | 234 | * When a process does an "exec", machine state like FPU and debug |
240 | * registers need to be reset. This is a hook function for that. | 235 | * registers need to be reset. This is a hook function for that. |