Commit 991ac30d authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Al Viro

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: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Acked-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 9177ada9
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/types.h> #include <linux/types.h>
#include <linux/compiler.h> #include <linux/compiler.h>
#include <linux/rcupdate.h>
struct completion; struct completion;
...@@ -931,6 +930,7 @@ enum ...@@ -931,6 +930,7 @@ enum
#ifdef __KERNEL__ #ifdef __KERNEL__
#include <linux/list.h> #include <linux/list.h>
#include <linux/rcupdate.h>
/* For the /proc/sys support */ /* For the /proc/sys support */
struct ctl_table; struct ctl_table;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment