tree 696dea49d74289726ac50fdbdebbbaae0f794340
parent f9abb020405c94edb0717315f1510086b1574a22
author James Bottomley <[EMAIL PROTECTED]> Sat, 06 Aug 2005 01:59:34 -0700
committer Linus Torvalds <[EMAIL PROTECTED]> Sat, 06 Aug 2005 02:22:37 -0700

[PATCH] fix voyager compile after machine_emergency_restart breakage

[PATCH] i386: Implement machine_emergency_reboot

introduced this new function into arch/i386/reboot.c.  However,
subarchitectures are entitled to implement their own copies of reboot.c
from which this new function is now missing.

It looks like visws will also need a similar fixup

Signed-off-by: James Bottomley <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>

 arch/i386/mach-voyager/voyager_basic.c |    7 +++++++
 1 files changed, 7 insertions(+)

diff --git a/arch/i386/mach-voyager/voyager_basic.c 
b/arch/i386/mach-voyager/voyager_basic.c
--- a/arch/i386/mach-voyager/voyager_basic.c
+++ b/arch/i386/mach-voyager/voyager_basic.c
@@ -279,6 +279,13 @@ machine_restart(char *cmd)
 }
 
 void
+machine_emergency_restart(void)
+{
+       /*for now, just hook this to a warm restart */
+       machine_restart(NULL);
+}
+
+void
 mca_nmi_hook(void)
 {
        __u8 dumpval __attribute__((unused)) = inb(0xf823);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to