git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.3
[linux-2.6.git]
/
drivers
/
char
/
ser_a2232.c
diff --git
a/drivers/char/ser_a2232.c
b/drivers/char/ser_a2232.c
index
f0b9668
..
6b4e9d1
100644
(file)
--- a/
drivers/char/ser_a2232.c
+++ b/
drivers/char/ser_a2232.c
@@
-599,10
+599,7
@@
int ch, err, n, p;
/* WakeUp if output buffer runs low */
if ((port->gs.xmit_cnt <= port->gs.wakeup_chars) && port->gs.tty) {
/* WakeUp if output buffer runs low */
if ((port->gs.xmit_cnt <= port->gs.wakeup_chars) && port->gs.tty) {
- if ((port->gs.tty->flags & (1 << TTY_DO_WRITE_WAKEUP)) && port->gs.tty->ldisc.write_wakeup){
- (port->gs.tty->ldisc.write_wakeup)(port->gs.tty);
- }
- wake_up_interruptible(&port->gs.tty->write_wait);
+ tty_wakeup(port->gs.tty);
}
} // if the port is used
} // for every port on the board
}
} // if the port is used
} // for every port on the board