]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/thread_info.h
select: add a poll specific struct to the restart_block union
[linux-2.6-omap-h63xx.git] / include / linux / thread_info.h
index 38a56477f27ada34c3cd6e56c912205b066bc413..e6b820f8b56b8ae3bf50ac980d1e95ce3ad6536e 100644 (file)
@@ -38,6 +38,14 @@ struct restart_block {
 #endif
                        u64 expires;
                } nanosleep;
+               /* For poll */
+               struct {
+                       struct pollfd __user *ufds;
+                       int nfds;
+                       int has_timeout;
+                       unsigned long tv_sec;
+                       unsigned long tv_nsec;
+               } poll;
        };
 };