vfs: do bulk POLL* -> EPOLL* replacement
[linux-2.6-block.git] / drivers / misc / mic / cosm_client / cosm_scif_client.c
index aa530fcceaa9959fc8b9f387de07e148d9acc2ee..beafc0da402788bd1d581409d34217e92927dfed 100644 (file)
@@ -160,7 +160,7 @@ static int cosm_scif_client(void *unused)
 
        while (!kthread_should_stop()) {
                pollepd.epd = client_epd;
-               pollepd.events = POLLIN;
+               pollepd.events = EPOLLIN;
 
                rc = scif_poll(&pollepd, 1, COSM_HEARTBEAT_SEND_MSEC);
                if (rc < 0) {
@@ -171,7 +171,7 @@ static int cosm_scif_client(void *unused)
                        continue;
                }
 
-               if (pollepd.revents & POLLIN)
+               if (pollepd.revents & EPOLLIN)
                        cosm_client_recv();
 
                msg.id = COSM_MSG_HEARTBEAT;