summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDave Young <hidave.darkstar@gmail.com>2010-03-11 00:24:10 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2010-03-13 00:53:11 +0100
commit9ff99339447de403a46be5e3f23d0c794d540b06 (patch)
tree8668d1b54543e19a42550e7f7332444e68661ec6 /include
parentsysctl extern cleanup: lockdep (diff)
downloadlinux-9ff99339447de403a46be5e3f23d0c794d540b06.tar.xz
linux-9ff99339447de403a46be5e3f23d0c794d540b06.zip
sysctl extern cleanup: poll
Extern declarations in sysctl.c should be moved to their own header file, and then include them in relavant .c files. Move epoll_table extern declaration to linux/poll.h Signed-off-by: Dave Young <hidave.darkstar@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/poll.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/poll.h b/include/linux/poll.h
index 6673743946f7..600cc1fde64d 100644
--- a/include/linux/poll.h
+++ b/include/linux/poll.h
@@ -10,8 +10,10 @@
#include <linux/wait.h>
#include <linux/string.h>
#include <linux/fs.h>
+#include <linux/sysctl.h>
#include <asm/uaccess.h>
+extern struct ctl_table epoll_table[]; /* for sysctl */
/* ~832 bytes of stack space used max in sys_select/sys_poll before allocating
additional memory. */
#define MAX_STACK_ALLOC 832