Skip to content

Commit

Permalink
sysctl: the include of rcupdate.h is only needed in the kernel
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
sfrothwell authored and Al Viro committed Mar 10, 2011
1 parent 9177ada commit 991ac30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/sysctl.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/compiler.h>
#include <linux/rcupdate.h>

struct completion;

Expand Down Expand Up @@ -931,6 +930,7 @@ enum

#ifdef __KERNEL__
#include <linux/list.h>
#include <linux/rcupdate.h>

/* For the /proc/sys support */
struct ctl_table;
Expand Down

0 comments on commit 991ac30

Please sign in to comment.