Skip to content

Commit 16dcb4b

Browse files
ebiedermLinus Torvalds
authored andcommitted
[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>
1 parent 7c90347 commit 16dcb4b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎arch/cris/kernel/process.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@
113113
#include <linux/user.h>
114114
#include <linux/elfcore.h>
115115
#include <linux/mqueue.h>
116+
#include <linux/reboot.h>
116117

117118
//#define DEBUG
118119

@@ -208,7 +209,7 @@ void cpu_idle (void)
208209

209210
void hard_reset_now (void);
210211

211-
void machine_restart(void)
212+
void machine_restart(char *cmd)
212213
{
213214
hard_reset_now();
214215
}

0 commit comments

Comments
 (0)