Commit 16dcb4bb authored by Eric W. Biederman's avatar Eric W. Biederman Committed by Linus Torvalds

[PATCH] Fix the arguments to machine_restart on cris

It appears machine_restart has been working cris just
by luck.
Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 7c903473
...@@ -113,6 +113,7 @@ ...@@ -113,6 +113,7 @@
#include <linux/user.h> #include <linux/user.h>
#include <linux/elfcore.h> #include <linux/elfcore.h>
#include <linux/mqueue.h> #include <linux/mqueue.h>
#include <linux/reboot.h>
//#define DEBUG //#define DEBUG
...@@ -208,7 +209,7 @@ void cpu_idle (void) ...@@ -208,7 +209,7 @@ void cpu_idle (void)
void hard_reset_now (void); void hard_reset_now (void);
void machine_restart(void) void machine_restart(char *cmd)
{ {
hard_reset_now(); hard_reset_now();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment