tty: cannot putc_wait from an interrupt
authorAlan Cox <alan@linux.intel.com>
Mon, 15 Jun 2015 22:12:55 +0000 (23:12 +0100)
committerAlan Cox <alan@linux.intel.com>
Mon, 15 Jun 2015 22:12:55 +0000 (23:12 +0100)
Kernel/tty.c

index 7bcbdd0..f5731af 100644 (file)
@@ -346,8 +346,8 @@ sigout:
        wr = insq(q, c);
        if (wr)
                tty_echo(minor, c);
-       else if (minor < PTY_OFFSET)
-               tty_putc_wait(minor, '\007');   /* Beep if no more room */
+       else
+               tty_putc(minor, '\007');        /* Beep if no more room */
 
        if (!canon || c == t->termios.c_cc[VEOL] || c == '\n'
            || c == t->termios.c_cc[VEOF])