[PATCH] x86_64: Implemenent machine_emergency_restart
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 26 Jul 2005 17:45:31 +0000 (11:45 -0600)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 26 Jul 2005 21:35:42 +0000 (14:35 -0700)
commit62b3a04d75d2dc9480d5ad3b60f4258e548a6a83
tree61c91a3fc9785346dd966249fb4acbe1feae1909
parent7c9a90073c75bffbb89763a0c7d44a2e44e9e628
[PATCH] x86_64: Implemenent machine_emergency_restart

It is not safe to call set_cpus_allowed() in interrupt
context and disabling the apics is complicated code.
So unconditionally skip machine_shutdown in machine_emergency_reboot
on x86_64.

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