]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/xen/evtchn.c
drm/amd/powerplay: Add notify PWE function to SMU10
[linux.git] / drivers / xen / evtchn.c
index 72c0416a01cc39003251402f1b152705c7ae7c9e..8cac07ab60abd4bc2c200be8bfd63fc5aa70b477 100644 (file)
@@ -623,14 +623,14 @@ static long evtchn_ioctl(struct file *file,
 
 static __poll_t evtchn_poll(struct file *file, poll_table *wait)
 {
-       __poll_t mask = POLLOUT | POLLWRNORM;
+       __poll_t mask = EPOLLOUT | EPOLLWRNORM;
        struct per_user_data *u = file->private_data;
 
        poll_wait(file, &u->evtchn_wait, wait);
        if (u->ring_cons != u->ring_prod)
-               mask |= POLLIN | POLLRDNORM;
+               mask |= EPOLLIN | EPOLLRDNORM;
        if (u->ring_overflow)
-               mask = POLLERR;
+               mask = EPOLLERR;
        return mask;
 }