mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
Revert "ANDROID: fs: epoll: use freezable blocking call"
It causes big merge issues with a 5.11-rc1 merge point, so revert this patch for now, hopefully we can add it back at a later point... Bug: 77139736 Bug: 120440023 Cc: Colin Cross <ccross@android.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I4915482c510a7c7b19db60161a031b70ec75d66c
This commit is contained in:
parent
20aa838e04
commit
d07b0181d6
|
|
@ -29,7 +29,6 @@
|
|||
#include <linux/mutex.h>
|
||||
#include <linux/anon_inodes.h>
|
||||
#include <linux/device.h>
|
||||
#include <linux/freezer.h>
|
||||
#include <linux/uaccess.h>
|
||||
#include <asm/io.h>
|
||||
#include <asm/mman.h>
|
||||
|
|
@ -1821,8 +1820,7 @@ static int ep_poll(struct eventpoll *ep, struct epoll_event __user *events,
|
|||
if (eavail || res)
|
||||
break;
|
||||
|
||||
if (!freezable_schedule_hrtimeout_range(to, slack,
|
||||
HRTIMER_MODE_ABS)) {
|
||||
if (!schedule_hrtimeout_range(to, slack, HRTIMER_MODE_ABS)) {
|
||||
timed_out = 1;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user