OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c90347
)
[PATCH] Fix the arguments to machine_restart on cris
author
Eric W. Biederman
<ebiederm@xmission.com>
Tue, 26 Jul 2005 17:32:34 +0000
(11:32 -0600)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 26 Jul 2005 21:35:42 +0000
(14:35 -0700)
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>
arch/cris/kernel/process.c
patch
|
blob
|
history
diff --git
a/arch/cris/kernel/process.c
b/arch/cris/kernel/process.c
index
9f7cad7
..
7645c4d
100644
(file)
--- a/
arch/cris/kernel/process.c
+++ b/
arch/cris/kernel/process.c
@@
-113,6
+113,7
@@
#include <linux/user.h>
#include <linux/elfcore.h>
#include <linux/mqueue.h>
+#include <linux/reboot.h>
//#define DEBUG
@@
-208,7
+209,7
@@
void cpu_idle (void)
void hard_reset_now (void);
-void machine_restart(
voi
d)
+void machine_restart(
char *cm
d)
{
hard_reset_now();
}