]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
sysctl: the include of rcupdate.h is only needed in the kernel
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 10 Mar 2011 00:25:43 +0000 (11:25 +1100)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 10 Mar 2011 09:19:56 +0000 (04:19 -0500)
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>
include/linux/sysctl.h

index bb7c2b086fa458845ca675b93f2a51bf35f8e81e..11684d9e6bd2391374f2cc3fd9ff7d4f9df4e11d 100644 (file)
@@ -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;