diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/base/dmapool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/dmapool.c b/drivers/base/dmapool.c index 7647abfe1890..fbae8674e491 100644 --- a/drivers/base/dmapool.c +++ b/drivers/base/dmapool.c | |||
@@ -302,7 +302,7 @@ restart: | |||
302 | if (mem_flags & __GFP_WAIT) { | 302 | if (mem_flags & __GFP_WAIT) { |
303 | DECLARE_WAITQUEUE (wait, current); | 303 | DECLARE_WAITQUEUE (wait, current); |
304 | 304 | ||
305 | current->state = TASK_INTERRUPTIBLE; | 305 | __set_current_state(TASK_INTERRUPTIBLE); |
306 | add_wait_queue (&pool->waitq, &wait); | 306 | add_wait_queue (&pool->waitq, &wait); |
307 | spin_unlock_irqrestore (&pool->lock, flags); | 307 | spin_unlock_irqrestore (&pool->lock, flags); |
308 | 308 | ||