Skip to content

Commit

Permalink
[PATCH] Fix the arguments to machine_restart on cris
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eric W. Biederman authored and Linus Torvalds committed Jul 26, 2005
1 parent 7c90347 commit 16dcb4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/cris/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@
#include <linux/user.h>
#include <linux/elfcore.h>
#include <linux/mqueue.h>
#include <linux/reboot.h>

//#define DEBUG

Expand Down Expand Up @@ -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();
}
Expand Down

0 comments on commit 16dcb4b

Please sign in to comment.