tree c0195fc6f371190fe15a28d752caaf2b02de9468
parent 7c9034735eccbf82608a4602c59aaf6053ea9416
author Eric W. Biederman <[EMAIL PROTECTED]> Tue, 26 Jul 2005 23:32:34 -0600
committer Linus Torvalds <[EMAIL PROTECTED]> Wed, 27 Jul 2005 04:35:42 -0700
[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 <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
arch/cris/kernel/process.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/cris/kernel/process.c b/arch/cris/kernel/process.c
--- 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(void)
+void machine_restart(char *cmd)
{
hard_reset_now();
}
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html