Re: [PATCH 10/16] atm: nicstar: remove interruptible_sleep_on_timeout
From: David Miller <davem@davemloft.net>
Date: 2014-02-26 16:06:12
Also in:
lkml
From: David Miller <davem@davemloft.net>
Date: 2014-02-26 16:06:12
Also in:
lkml
From: Arnd Bergmann <arnd@arndb.de> Date: Wed, 26 Feb 2014 12:01:50 +0100
- spin_unlock_irqrestore(&scq->lock, flags); - interruptible_sleep_on_timeout(&scq->scqfull_waitq, - SCQFULL_TIMEOUT); - spin_lock_irqsave(&scq->lock, flags); + wait_event_interruptible_lock_irq_timeout(scq->scqfull_waitq, + scq->tail != scq->next, scq->lock, + SCQFULL_TIMEOUT);
When a function call spans multiple lines, please place arguments for those function calls starting at the first column after the openning parenthesis. Thank you.