提交 16dcb4bb 编写于 作者: E Eric W. Biederman 提交者: 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: NEric W. Biederman <ebiederm@xmission.com>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册