projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9177ada
)
sysctl: the include of rcupdate.h is only needed in the kernel
author
Stephen Rothwell
<
[email protected]
>
Thu, 10 Mar 2011 00:25:43 +0000
(11:25 +1100)
committer
Al Viro
<
[email protected]
>
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 <
[email protected]
>
Acked-by: Al Viro <
[email protected]
>
Signed-off-by: Al Viro <
[email protected]
>
include/linux/sysctl.h
patch
|
blob
|
history
diff --git
a/include/linux/sysctl.h
b/include/linux/sysctl.h
index bb7c2b086fa458845ca675b93f2a51bf35f8e81e..11684d9e6bd2391374f2cc3fd9ff7d4f9df4e11d 100644
(file)
--- 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;