[PATCH] i386: Implement machine_emergency_reboot
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 26 Jul 2005 17:41:26 +0000 (11:41 -0600)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Jul 2005 21:35:42 +0000 (14:35 -0700)
commit4a1421f81b64e49ce932125e7222a2d7b7f87f13
tree8f960fc27c718039bb9b93b237233d304eec8be7
parent59586e5a262a29361c45c929ea3253d4aec830b0
[PATCH] i386: Implement machine_emergency_reboot

set_cpus_allowed is not safe in interrupt context
and disabling apics is complicated code so don't
call machine_shutdown on i386 from emergency_restart().

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/reboot.c
include/asm-i386/emergency-restart.h