|
@@ -1639,9 +1639,9 @@ fetch_events:
|
|
|
|
|
|
|
|
spin_lock_irqsave(&ep->lock, flags);
|
|
spin_lock_irqsave(&ep->lock, flags);
|
|
|
}
|
|
}
|
|
|
- __remove_wait_queue(&ep->wq, &wait);
|
|
|
|
|
|
|
|
|
|
- set_current_state(TASK_RUNNING);
|
|
|
|
|
|
|
+ __remove_wait_queue(&ep->wq, &wait);
|
|
|
|
|
+ __set_current_state(TASK_RUNNING);
|
|
|
}
|
|
}
|
|
|
check_events:
|
|
check_events:
|
|
|
/* Is it worth to try to dig for events ? */
|
|
/* Is it worth to try to dig for events ? */
|