summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorDave Young <hidave.darkstar@gmail.com>2010-03-10 15:24:05 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2010-03-12 15:53:08 -0800
commite5ab67726f33b50f40db0ccf271ceb3c658554d5 (patch)
treeb4616f1f7e077f4dd4cc2586f0e8db8acd8a322b /kernel
parentd33ed52d57e794eba55cea3f5eab3c8f80b6cb5a (diff)
downloadop-kernel-dev-e5ab67726f33b50f40db0ccf271ceb3c658554d5.zip
op-kernel-dev-e5ab67726f33b50f40db0ccf271ceb3c658554d5.tar.gz
sysctl extern cleanup: rcu
Extern declarations in sysctl.c should be moved to their own header file, and then include them in relavant .c files. Move rcutorture_runnable extern declaration to linux/rcupdate.h Signed-off-by: Dave Young <hidave.darkstar@gmail.com> Acked-by: Josh Triplett <josh@joshtriplett.org> Reviewed-by: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sysctl.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index a8fd10a..f18aaa7 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -87,9 +87,6 @@ extern int sysctl_nr_open_min, sysctl_nr_open_max;
#ifndef CONFIG_MMU
extern int sysctl_nr_trim_pages;
#endif
-#ifdef CONFIG_RCU_TORTURE_TEST
-extern int rcutorture_runnable;
-#endif /* #ifdef CONFIG_RCU_TORTURE_TEST */
#ifdef CONFIG_BLOCK
extern int blk_iopoll_enabled;
#endif
OpenPOWER on IntegriCloud