mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-28 13:34:38 +08:00
62b3a04d75
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>
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 */
|