diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2006-09-29 11:01:40 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-29 18:18:24 +0200 |
commit | 5f412b24240d92212e50ebbaff2dff20c9e6f3d0 (patch) | |
tree | 4929d68d6949c887fbd3fb0594b0c1ec5a7e765d /kernel/acct.c | |
parent | [PATCH] specialix - remove private speed decoding (diff) | |
download | linux-5f412b24240d92212e50ebbaff2dff20c9e6f3d0.tar.xz linux-5f412b24240d92212e50ebbaff2dff20c9e6f3d0.zip |
[PATCH] Fix locking for tty drivers when doing urgent characters
If you send a priority character (as is done for flow control) then the tty
driver can either have its own method for "jumping the queue" or the characrer
can be queued normally. In the latter case we call the write method but
without the atomic_write_lock taken elsewhere.
Make this consistent. Note that the send_xchar method if implemented remains
outside of the lock as it can jump ahead of a current write so must not be
locked out by it.
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/acct.c')
0 files changed, 0 insertions, 0 deletions