diff options
author | David Woodhouse <dwmw2@shinybook.infradead.org> | 2005-07-27 09:14:13 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@shinybook.infradead.org> | 2005-07-27 09:14:13 -0400 |
commit | c5fbc3966f48279dbebfde10248c977014aa9988 (patch) | |
tree | 0a52f645d89f91952c26b215f460a4ba195ca42c /arch/cris | |
parent | 39299d9d15c41cbdd7c7009967cd35afaf34d8fa (diff) | |
parent | 9e566d8bd61f939b7f5d7d969f5b178571471cf9 (diff) |
Merge with master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
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. |