]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cris: sync_serial: remove interruptible_sleep_on
authorArnd Bergmann <arnd@arndb.de>
Thu, 2 Jan 2014 12:07:37 +0000 (13:07 +0100)
committerJesper Nilsson <jespern@axis.com>
Thu, 9 Jan 2014 09:50:50 +0000 (10:50 +0100)
commit329fddd7b60cf6aed53cdb6fdc8e64117b8e8bc6
tree7e4e54cfa9defbb96c73bad6ec49c0d391a6ba43
parent64d8ad933d06f3d5070db8eb855cdfc0a80b595d
cris: sync_serial: remove interruptible_sleep_on

sleep_on and its variants are racy and going away. This replaces
the two uses in the cris sync_serial drivers with the equivalent
but race-free wait_event_interruptible.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Mikael Starvik <starvik@axis.com>
Cc: linux-cris-kernel@axis.com
Signed-off-by: Jesper Nilsson <jespern@axis.com>
arch/cris/arch-v10/drivers/sync_serial.c
arch/cris/arch-v32/drivers/sync_serial.c