vfs: do bulk POLL* -> EPOLL* replacement
[linux-2.6-block.git] / drivers / platform / goldfish / goldfish_pipe.c
index 999f1152655abb9e0154663f698b7e58dc670dfe..3e32a4c14d5fcabb2799ae0df22ee7525f29d2a7 100644 (file)
@@ -549,13 +549,13 @@ static __poll_t goldfish_pipe_poll(struct file *filp, poll_table *wait)
                return -ERESTARTSYS;
 
        if (status & PIPE_POLL_IN)
-               mask |= POLLIN | POLLRDNORM;
+               mask |= EPOLLIN | EPOLLRDNORM;
        if (status & PIPE_POLL_OUT)
-               mask |= POLLOUT | POLLWRNORM;
+               mask |= EPOLLOUT | EPOLLWRNORM;
        if (status & PIPE_POLL_HUP)
-               mask |= POLLHUP;
+               mask |= EPOLLHUP;
        if (test_bit(BIT_CLOSED_ON_HOST, &pipe->flags))
-               mask |= POLLERR;
+               mask |= EPOLLERR;
 
        return mask;
 }