mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
parisc: Prevent interrupts during reboot
Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
@@ -85,6 +85,9 @@ void machine_restart(char *cmd)
|
||||
#endif
|
||||
/* set up a new led state on systems shipped with a LED State panel */
|
||||
pdc_chassis_send_status(PDC_CHASSIS_DIRECT_SHUTDOWN);
|
||||
|
||||
/* prevent interrupts during reboot */
|
||||
set_eiem(0);
|
||||
|
||||
/* "Normal" system reset */
|
||||
pdc_do_reset();
|
||||
|
||||
Reference in New Issue
Block a user