projects/linux·commit 684adca4

sysctl: the include of rcupdate.h is only needed in the kernel

684adca4 · Stephen Rothwell <[email protected]> · 2011-03-10 11:14:17 +11:00

Fixes this build-check error:

  include/linux/sysctl.h:28: included file 'linux/rcupdate.h' is not exported

Signed-off-by: Stephen Rothwell <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
684adca4f84365ca327e06dba696b62de7a79eca
Parents
39794917

Changes

1 files changed · +1 −1

FileStatusAddDelContent
include/linux/sysctl.hmodified+1−1View file

include/linux/sysctl.h

View file
diff --git a/include/linux/sysctl.h b/include/linux/sysctl.h
index bb7c2b0..11684d9 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;