public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
001d9fc
)
tty: cannot putc_wait from an interrupt
author
Alan Cox
<alan@linux.intel.com>
Mon, 15 Jun 2015 22:12:55 +0000
(23:12 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Mon, 15 Jun 2015 22:12:55 +0000
(23:12 +0100)
Kernel/tty.c
patch
|
blob
|
history
diff --git
a/Kernel/tty.c
b/Kernel/tty.c
index
7bcbdd0
..
f5731af
100644
(file)
--- a/
Kernel/tty.c
+++ b/
Kernel/tty.c
@@
-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])