summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2014-01-02 13:07:38 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-07 17:05:21 -0800
commit591cee0a35632031cd925392a1bce507dcfe9ea8 (patch)
treedeb6628428c2f3b88f98846f1928658dbf43cb34 /drivers/ata
parentf8e87cb4a19aa5f5a1ce22e130da0f4a7fa2d5f3 (diff)
downloadtalos-obmc-linux-591cee0a35632031cd925392a1bce507dcfe9ea8.tar.gz
talos-obmc-linux-591cee0a35632031cd925392a1bce507dcfe9ea8.zip
tty/amiserial: avoid interruptible_sleep_on
interruptible_sleep_on is generally problematic and we want to get rid of it. In case of TIOCMIWAIT, that race is actually in user space and does not get fixed since we can only detect changes after entering the ioctl handler, but it removes one more caller. This instance can not be trivially replaced with wait_event, so I chose to open-code the wait loop using prepare_to_wait/finish_wait. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ata')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud