diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 7ad48f2a2758..2d0a93c31228 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -631,6 +631,10 @@ struct user_struct { | |||
631 | atomic_t inotify_watches; /* How many inotify watches does this user have? */ | 631 | atomic_t inotify_watches; /* How many inotify watches does this user have? */ |
632 | atomic_t inotify_devs; /* How many inotify devs does this user have opened? */ | 632 | atomic_t inotify_devs; /* How many inotify devs does this user have opened? */ |
633 | #endif | 633 | #endif |
634 | #ifdef CONFIG_EPOLL | ||
635 | atomic_t epoll_devs; /* The number of epoll descriptors currently open */ | ||
636 | atomic_t epoll_watches; /* The number of file descriptors currently watched */ | ||
637 | #endif | ||
634 | #ifdef CONFIG_POSIX_MQUEUE | 638 | #ifdef CONFIG_POSIX_MQUEUE |
635 | /* protected by mq_lock */ | 639 | /* protected by mq_lock */ |
636 | unsigned long mq_bytes; /* How many bytes can be allocated to mqueue? */ | 640 | unsigned long mq_bytes; /* How many bytes can be allocated to mqueue? */ |