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 Signed-off-by: Linus Torvalds
#ifndef _ASM_EMERGENCY_RESTART_H #define _ASM_EMERGENCY_RESTART_H extern void machine_emergency_restart(void); #endif /* _ASM_EMERGENCY_RESTART_H */