diff options
-rw-r--r-- | drivers/tty/serial/pch_uart.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/serial/pch_uart.c b/drivers/tty/serial/pch_uart.c index db61d0030caf..9164cef13fcd 100644 --- a/drivers/tty/serial/pch_uart.c +++ b/drivers/tty/serial/pch_uart.c @@ -1489,7 +1489,7 @@ pch_console_write(struct console *co, const char *s, unsigned int count) touch_nmi_watchdog(); - local_irq_save(flags); + local_irq_save_nort(flags); spin_lock(&priv->lock); if (priv->port.sysrq) { /* serial8250_handle_port() already took the lock */ @@ -1519,7 +1519,7 @@ pch_console_write(struct console *co, const char *s, unsigned int count) if (locked) spin_unlock(&priv->port.lock); spin_unlock(&priv->lock); - local_irq_restore(flags); + local_irq_restore_nort(flags); } |