[PATCH] Fix the arguments to machine_restart on cris
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>
This commit is contained in:
committed by
Linus Torvalds
parent
7c9034735e
commit
16dcb4bbda
@@ -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)
|
|||||||
|
|
||||||
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();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user