summaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2005-07-26 11:45:31 -0600
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-26 14:35:42 -0700
commit62b3a04d75d2dc9480d5ad3b60f4258e548a6a83 (patch)
tree61c91a3fc9785346dd966249fb4acbe1feae1909 /include/asm-x86_64
parent7c9a90073c75bffbb89763a0c7d44a2e44e9e628 (diff)
downloadop-kernel-dev-62b3a04d75d2dc9480d5ad3b60f4258e548a6a83.zip
op-kernel-dev-62b3a04d75d2dc9480d5ad3b60f4258e548a6a83.tar.gz
[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>
Diffstat (limited to 'include/asm-x86_64')
-rw-r--r--include/asm-x86_64/emergency-restart.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86_64/emergency-restart.h b/include/asm-x86_64/emergency-restart.h
index 108d8c4..680c395 100644
--- a/include/asm-x86_64/emergency-restart.h
+++ b/include/asm-x86_64/emergency-restart.h
@@ -1,6 +1,6 @@
#ifndef _ASM_EMERGENCY_RESTART_H
#define _ASM_EMERGENCY_RESTART_H
-#include <asm-generic/emergency-restart.h>
+extern void machine_emergency_restart(void);
#endif /* _ASM_EMERGENCY_RESTART_H */
OpenPOWER on IntegriCloud