]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/char/random.c
drm/amd/powerplay: Add notify PWE function to SMU10
[linux.git] / drivers / char / random.c
index 80f2c326db47dd95fb27e1c8421c036c42bf7c18..e5b3d3ba46604f7c0bb5612f3da867ea16884d20 100644 (file)
@@ -1793,9 +1793,9 @@ random_poll(struct file *file, poll_table * wait)
        poll_wait(file, &random_write_wait, wait);
        mask = 0;
        if (ENTROPY_BITS(&input_pool) >= random_read_wakeup_bits)
-               mask |= POLLIN | POLLRDNORM;
+               mask |= EPOLLIN | EPOLLRDNORM;
        if (ENTROPY_BITS(&input_pool) < random_write_wakeup_bits)
-               mask |= POLLOUT | POLLWRNORM;
+               mask |= EPOLLOUT | EPOLLWRNORM;
        return mask;
 }