aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa/platforms/iss/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/xtensa/platforms/iss/console.c')
-rw-r--r--arch/xtensa/platforms/iss/console.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/xtensa/platforms/iss/console.c b/arch/xtensa/platforms/iss/console.c
index e8697218c65e..70cb408bc20d 100644
--- a/arch/xtensa/platforms/iss/console.c
+++ b/arch/xtensa/platforms/iss/console.c
@@ -56,13 +56,13 @@ static void rs_poll(unsigned long);
56static int rs_open(struct tty_struct *tty, struct file * filp) 56static int rs_open(struct tty_struct *tty, struct file * filp)
57{ 57{
58 tty->port = &serial_port; 58 tty->port = &serial_port;
59 spin_lock(&timer_lock); 59 spin_lock_bh(&timer_lock);
60 if (tty->count == 1) { 60 if (tty->count == 1) {
61 setup_timer(&serial_timer, rs_poll, 61 setup_timer(&serial_timer, rs_poll,
62 (unsigned long)&serial_port); 62 (unsigned long)&serial_port);
63 mod_timer(&serial_timer, jiffies + SERIAL_TIMER_VALUE); 63 mod_timer(&serial_timer, jiffies + SERIAL_TIMER_VALUE);
64 } 64 }
65 spin_unlock(&timer_lock); 65 spin_unlock_bh(&timer_lock);
66 66
67 return 0; 67 return 0;
68} 68}