diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-03-05 17:52:48 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-09 00:50:02 +0400 |
commit | b8edebe4b8b4ad5bd436cf9080b77b29e219029a (patch) | |
tree | 41cbe2cf6027f051a234fe42f6a97cc6ddadf446 /Documentation/cpuidle | |
parent | 6e1aeb0379f47b51ad4d25e5e0d9648dbd50f0b9 (diff) | |
download | linux-b8edebe4b8b4ad5bd436cf9080b77b29e219029a.tar.xz |
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 'Documentation/cpuidle')
0 files changed, 0 insertions, 0 deletions