]> err.no Git - linux-2.6/commitdiff
[PATCH] fix voyager compile after machine_emergency_restart breakage
authorJames Bottomley <James.Bottomley@SteelEye.com>
Fri, 5 Aug 2005 18:59:34 +0000 (11:59 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 5 Aug 2005 19:22:37 +0000 (12:22 -0700)
[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 <James.Bottomley@SteelEye.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/mach-voyager/voyager_basic.c

index b3eda46e0fe9d4e1a02cfc8e90c9e29b7abd1e94..62d0d9bf3fc05aff91e257f45501a49c133ce4c5 100644 (file)
@@ -278,6 +278,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)
 {