summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2011-03-10 11:25:43 +1100
committerAl Viro <viro@zeniv.linux.org.uk>2011-03-10 04:19:56 -0500
commit991ac30d8b30ab6051dff5a7b07d84e6f5efa3a6 (patch)
tree9a7bdd23fe3fa8bc4fc345e43aa393e1c821686b
parent9177ada99d5e69fe91950b3ef5c23f2bcd109987 (diff)
downloadlinux-stable-991ac30d8b30ab6051dff5a7b07d84e6f5efa3a6.tar.gz
linux-stable-991ac30d8b30ab6051dff5a7b07d84e6f5efa3a6.tar.bz2
linux-stable-991ac30d8b30ab6051dff5a7b07d84e6f5efa3a6.zip
sysctl: the include of rcupdate.h is only needed in the kernel
Fixes this built error: include/linux/sysctl.h:28: included file 'linux/rcupdate.h' is not exported Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Acked-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-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;