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 7f8015a3082e..9624e2cfc2dc 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -624,6 +624,10 @@ struct user_struct { | |||
624 | atomic_t inotify_watches; /* How many inotify watches does this user have? */ | 624 | atomic_t inotify_watches; /* How many inotify watches does this user have? */ |
625 | atomic_t inotify_devs; /* How many inotify devs does this user have opened? */ | 625 | atomic_t inotify_devs; /* How many inotify devs does this user have opened? */ |
626 | #endif | 626 | #endif |
627 | #ifdef CONFIG_EPOLL | ||
628 | atomic_t epoll_devs; /* The number of epoll descriptors currently open */ | ||
629 | atomic_t epoll_watches; /* The number of file descriptors currently watched */ | ||
630 | #endif | ||
627 | #ifdef CONFIG_POSIX_MQUEUE | 631 | #ifdef CONFIG_POSIX_MQUEUE |
628 | /* protected by mq_lock */ | 632 | /* protected by mq_lock */ |
629 | unsigned long mq_bytes; /* How many bytes can be allocated to mqueue? */ | 633 | unsigned long mq_bytes; /* How many bytes can be allocated to mqueue? */ |