Revert "epoll: Add synchronous wakeup support for ep_poll_callback"
This reverts commit b718903719ca67c98f72863873dbedef8900ec2a.
This commit is contained in:
parent
24be309e47
commit
46676a78ff
2 changed files with 1 additions and 5 deletions
|
@ -1279,10 +1279,7 @@ static int ep_poll_callback(wait_queue_entry_t *wait, unsigned mode, int sync, v
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (sync)
|
||||
wake_up_sync(&ep->wq);
|
||||
else
|
||||
wake_up(&ep->wq);
|
||||
wake_up(&ep->wq);
|
||||
}
|
||||
if (waitqueue_active(&ep->poll_wait))
|
||||
pwake++;
|
||||
|
|
|
@ -214,7 +214,6 @@ void __wake_up_pollfree(struct wait_queue_head *wq_head);
|
|||
#define wake_up_all(x) __wake_up(x, TASK_NORMAL, 0, NULL)
|
||||
#define wake_up_locked(x) __wake_up_locked((x), TASK_NORMAL, 1)
|
||||
#define wake_up_all_locked(x) __wake_up_locked((x), TASK_NORMAL, 0)
|
||||
#define wake_up_sync(x) __wake_up_sync(x, TASK_NORMAL)
|
||||
|
||||
#define wake_up_interruptible(x) __wake_up(x, TASK_INTERRUPTIBLE, 1, NULL)
|
||||
#define wake_up_interruptible_nr(x, nr) __wake_up(x, TASK_INTERRUPTIBLE, nr, NULL)
|
||||
|
|
Loading…
Reference in a new issue