]> git.kernelconcepts.de Git - karo-tx-linux.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:14:17 +0000 (11:14 +1100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 10 Mar 2011 00:43:24 +0000 (16:43 -0800)
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>
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;