[PATCH] Fix the arguments to machine_restart on cris
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 26 Jul 2005 17:32:34 +0000 (11:32 -0600)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Jul 2005 21:35:42 +0000 (14:35 -0700)
It appears machine_restart has been working cris just
by luck.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/cris/kernel/process.c

index 9f7cad7c78498a706853cafa4491381dcdcc0697..7645c4d4de6feeadaf2d36885056df1399f69a8c 100644 (file)
 #include <linux/user.h>
 #include <linux/elfcore.h>
 #include <linux/mqueue.h>
+#include <linux/reboot.h>
 
 //#define DEBUG
 
@@ -208,7 +209,7 @@ void cpu_idle (void)
 
 void hard_reset_now (void);
 
-void machine_restart(void)
+void machine_restart(char *cmd)
 {
        hard_reset_now();
 }