projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vfs: do bulk POLL* -> EPOLL* replacement
[linux-2.6-microblaze.git]
/
net
/
rfkill
/
core.c
diff --git
a/net/rfkill/core.c
b/net/rfkill/core.c
index
124c77e
..
59d0eb9
100644
(file)
--- a/
net/rfkill/core.c
+++ b/
net/rfkill/core.c
@@
-1142,13
+1142,13
@@
static int rfkill_fop_open(struct inode *inode, struct file *file)
static __poll_t rfkill_fop_poll(struct file *file, poll_table *wait)
{
struct rfkill_data *data = file->private_data;
static __poll_t rfkill_fop_poll(struct file *file, poll_table *wait)
{
struct rfkill_data *data = file->private_data;
- __poll_t res =
POLLOUT |
POLLWRNORM;
+ __poll_t res =
EPOLLOUT | E
POLLWRNORM;
poll_wait(file, &data->read_wait, wait);
mutex_lock(&data->mtx);
if (!list_empty(&data->events))
poll_wait(file, &data->read_wait, wait);
mutex_lock(&data->mtx);
if (!list_empty(&data->events))
- res =
POLLIN |
POLLRDNORM;
+ res =
EPOLLIN | E
POLLRDNORM;
mutex_unlock(&data->mtx);
return res;
mutex_unlock(&data->mtx);
return res;