aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@shinybook.infradead.org>2005-07-27 09:14:13 -0400
committerDavid Woodhouse <dwmw2@shinybook.infradead.org>2005-07-27 09:14:13 -0400
commitc5fbc3966f48279dbebfde10248c977014aa9988 (patch)
tree0a52f645d89f91952c26b215f460a4ba195ca42c /arch/cris
parent39299d9d15c41cbdd7c7009967cd35afaf34d8fa (diff)
parent9e566d8bd61f939b7f5d7d969f5b178571471cf9 (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.c9
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
209void hard_reset_now (void); 210void hard_reset_now (void);
210 211
211void machine_restart(void) 212void machine_restart(char *cmd)
212{ 213{
213 hard_reset_now(); 214 hard_reset_now();
214} 215}
215 216
216EXPORT_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
228EXPORT_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
232void machine_power_off(void) 229void machine_power_off(void)
233{ 230{
234} 231}
235 232
236EXPORT_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.