mirror of
https://gitee.com/openharmony/kernel_linux
synced 2025-02-21 03:55:25 +00:00

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 */
|