History

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

Fixes this build-check error: include/linux/sysctl.h:28: included file 'linux/rcupdate.h' is not exported

Stephen Rothwell committed 15 years ago

Commit 684adca1 parent 39794911 file · +1 −1Browse files

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/sysctl.h+1−1
@@ -25,7 +25,6 @@ · 24 unmodified lines
25#include <linux/kernel.h>25#include <linux/kernel.h>
26#include <linux/types.h>26#include <linux/types.h>
27#include <linux/compiler.h>27#include <linux/compiler.h>
28#include <linux/rcupdate.h>
29 28
30struct completion;29struct completion;
31 30
@@ -931,6 +930,7 @@ enum · 899 unmodified lines
931 930
932#ifdef __KERNEL__931#ifdef __KERNEL__
933#include <linux/list.h>932#include <linux/list.h>
933#include <linux/rcupdate.h>
934 934
935/* For the /proc/sys support */935/* For the /proc/sys support */
936struct ctl_table;936struct ctl_table;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t