diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-03-05 14:52:48 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-08 12:50:02 -0800 |
commit | b8edebe4b8b4ad5bd436cf9080b77b29e219029a (patch) | |
tree | 41cbe2cf6027f051a234fe42f6a97cc6ddadf446 /scripts/recordmcount.h | |
parent | 6e1aeb0379f47b51ad4d25e5e0d9648dbd50f0b9 (diff) |
TTY: amiserial, use tty_port_close_end
Hmm, the code was sleeping with interrupts disabled. This was not
good. Fix this by turning interrupts at an appropriate place. (The
race is protected by CLOSING flag.)
After the move, the code is identical to tty_port_close_end, so use
it!
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/recordmcount.h')
0 files changed, 0 insertions, 0 deletions