]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/sysctl.c
Merge branch 'master' into next
[linux-2.6-omap-h63xx.git] / kernel / sysctl.c
index 511031381c330f91ffebb59b2ab14466ddb1fd26..9d52b57310af1fe953a8f86bdaf35d9ca88acbb7 100644 (file)
@@ -176,6 +176,9 @@ extern struct ctl_table random_table[];
 #ifdef CONFIG_INOTIFY_USER
 extern struct ctl_table inotify_table[];
 #endif
+#ifdef CONFIG_EPOLL
+extern struct ctl_table epoll_table[];
+#endif
 
 #ifdef HAVE_ARCH_PICK_MMAP_LAYOUT
 int sysctl_legacy_va_layout;
@@ -1325,6 +1328,13 @@ static struct ctl_table fs_table[] = {
                .child          = inotify_table,
        },
 #endif 
+#ifdef CONFIG_EPOLL
+       {
+               .procname       = "epoll",
+               .mode           = 0555,
+               .child          = epoll_table,
+       },
+#endif
 #endif
        {
                .ctl_name       = KERN_SETUID_DUMPABLE,