Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e6cb9941 authored by James Bottomley's avatar James Bottomley Committed by Linus Torvalds
Browse files

[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: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent f9abb020
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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)
{