]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-powerpc/poll.h
[PATCH] POLLRDHUP/EPOLLRDHUP handling for half-closed devices notifications
[linux-2.6-omap-h63xx.git] / include / asm-powerpc / poll.h
index be5024913c62c4ced082b86089c6cc770560fe3e..9c7d1263103353745dfb10cece78ac1e3719d976 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __PPC_POLL_H
-#define __PPC_POLL_H
+#ifndef _ASM_POWERPC_POLL_H
+#define _ASM_POWERPC_POLL_H
 
 #define POLLIN         0x0001
 #define POLLPRI                0x0002
@@ -13,6 +13,7 @@
 #define POLLWRBAND     0x0200
 #define POLLMSG                0x0400
 #define POLLREMOVE     0x1000
+#define POLLRDHUP       0x2000
 
 struct pollfd {
        int fd;
@@ -20,4 +21,4 @@ struct pollfd {
        short revents;
 };
 
-#endif
+#endif /* _ASM_POWERPC_POLL_H */