Explorar o código

[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 <James.Bottomley@SteelEye.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
James Bottomley %!s(int64=20) %!d(string=hai) anos
pai
achega
e6cb99413d
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      arch/i386/mach-voyager/voyager_basic.c

+ 7 - 0
arch/i386/mach-voyager/voyager_basic.c

@@ -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)
 {