Revert "Revert "select: use freezable blocking call""
This reverts commit 59612d1879
.
Android doesn't need to worry about buggy i686 implementations, which
was the reason behind the original revert.
See https://bugzilla.kernel.org/show_bug.cgi?id=61781.
Test: device enters suspend and everything works fine
bug 77139736
Signed-off-by: Tim Murray <timmurray@google.com>
This commit is contained in:
parent
cfc6ebd2eb
commit
2d693bf1a8
@ -240,7 +240,8 @@ static int poll_schedule_timeout(struct poll_wqueues *pwq, int state,
|
||||
|
||||
set_current_state(state);
|
||||
if (!pwq->triggered)
|
||||
rc = schedule_hrtimeout_range(expires, slack, HRTIMER_MODE_ABS);
|
||||
rc = freezable_schedule_hrtimeout_range(expires, slack,
|
||||
HRTIMER_MODE_ABS);
|
||||
__set_current_state(TASK_RUNNING);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user