mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-24 11:34:50 +08:00
4a1421f81b
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>
7 lines
151 B
C
7 lines
151 B
C
#ifndef _ASM_EMERGENCY_RESTART_H
|
|
#define _ASM_EMERGENCY_RESTART_H
|
|
|
|
extern void machine_emergency_restart(void);
|
|
|
|
#endif /* _ASM_EMERGENCY_RESTART_H */
|