diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2005-07-26 19:41:26 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-26 23:35:42 +0200 |
commit | 4a1421f81b64e49ce932125e7222a2d7b7f87f13 (patch) | |
tree | 8f960fc27c718039bb9b93b237233d304eec8be7 /include/asm-i386 | |
parent | [PATCH] Don't export machine_restart, machine_halt, or machine_power_off. (diff) | |
download | linux-4a1421f81b64e49ce932125e7222a2d7b7f87f13.tar.xz linux-4a1421f81b64e49ce932125e7222a2d7b7f87f13.zip |
[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>
Diffstat (limited to 'include/asm-i386')
-rw-r--r-- | include/asm-i386/emergency-restart.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-i386/emergency-restart.h b/include/asm-i386/emergency-restart.h index 108d8c48e42e..680c39563345 100644 --- a/include/asm-i386/emergency-restart.h +++ b/include/asm-i386/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 */ |