summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2011-03-10 11:14:17 +1100
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-09 16:43:24 -0800
commit684adca4f84365ca327e06dba696b62de7a79eca (patch)
treea6ca09edf0ab8c99158cc25a94c2cbbe34916c5a /include
parent3979491701cfb2aa7477f5baf40553355391418b (diff)
sysctl: the include of rcupdate.h is only needed in the kernel
Fixes this build-check error: include/linux/sysctl.h:28: included file 'linux/rcupdate.h' is not exported Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/sysctl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h
index bb7c2b086fa4..11684d9e6bd2 100644
--- a/include/linux/sysctl.h
+++ b/include/linux/sysctl.h
@@ -25,7 +25,6 @@
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/compiler.h>
-#include <linux/rcupdate.h>
struct completion;
@@ -931,6 +930,7 @@ enum
#ifdef __KERNEL__
#include <linux/list.h>
+#include <linux/rcupdate.h>
/* For the /proc/sys support */
struct ctl_table;