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:
Tim Murray 2018-03-27 11:34:01 -07:00 committed by spakkkk
parent cfc6ebd2eb
commit 2d693bf1a8

View File

@ -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);
/*