|
@@ -302,7 +302,7 @@ restart:
|
|
|
if (mem_flags & __GFP_WAIT) {
|
|
|
DECLARE_WAITQUEUE (wait, current);
|
|
|
|
|
|
- current->state = TASK_INTERRUPTIBLE;
|
|
|
+ __set_current_state(TASK_INTERRUPTIBLE);
|
|
|
add_wait_queue (&pool->waitq, &wait);
|
|
|
spin_unlock_irqrestore (&pool->lock, flags);
|
|
|
|