summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorStephen Rothwell2011-03-10 01:14:17 +0100
committerLinus Torvalds2011-03-10 01:43:24 +0100
commit684adca4f84365ca327e06dba696b62de7a79eca (patch)
treea6ca09edf0ab8c99158cc25a94c2cbbe34916c5a /include/linux
parentMerge branch 'for-2.6.38' of git://linux-nfs.org/~bfields/linux (diff)
downloadkernel-qcow2-linux-684adca4f84365ca327e06dba696b62de7a79eca.tar.gz
kernel-qcow2-linux-684adca4f84365ca327e06dba696b62de7a79eca.tar.xz
kernel-qcow2-linux-684adca4f84365ca327e06dba696b62de7a79eca.zip
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/linux')
-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;