]> git.baikalelectronics.ru Git - kernel.git/commit
atm: nicstar: remove interruptible_sleep_on_timeout
authorArnd Bergmann <arnd@arndb.de>
Thu, 27 Feb 2014 18:51:54 +0000 (19:51 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Feb 2014 20:22:46 +0000 (15:22 -0500)
commit4df1d48b19309b29bc0c9054c024c9bf18e055c2
tree075607f8255daa22d47ab966b61c44881ad78d79
parentdb181f9a07599213a78e8597d26e091004ce016d
atm: nicstar: remove interruptible_sleep_on_timeout

We are trying to finally kill off interruptible_sleep_on_timeout.
the two uses in the nicstar driver can be trivially replaced
with wait_event_interruptible_lock_irq_timeout, which prevents the
wake-up race and is able to check the buffer state with scq->lock
held.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/nicstar.c