mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 08:30:54 +07:00
[PATCH] 68328serial: sysrq should use emergency_reboot
The 68328serial.c driver has a weird local reimplementation of magic sysrq. The code is architecture specific enough that calling machine_restart() is probably ok. But there is no reason not to call emergency_restart() so do so. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
970d32443e
commit
804ebf46d5
@ -316,7 +316,7 @@ static _INLINE_ void receive_chars(struct m68k_serial *info, struct pt_regs *reg
|
||||
/* show_net_buffers(); */
|
||||
return;
|
||||
} else if (ch == 0x12) { /* ^R */
|
||||
machine_restart(NULL);
|
||||
emergency_restart();
|
||||
return;
|
||||
#endif /* CONFIG_MAGIC_SYSRQ */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user