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

Unified · Split

include/linux/sysctl.h+1−1
@@ -25,7 +25,6 @@ · 24 unmodified lines
2525 #include <linux/kernel.h>
2626 #include <linux/types.h>
2727 #include <linux/compiler.h>
28−#include <linux/rcupdate.h>
2928
3029 struct completion;
3130
@@ -931,6 +930,7 @@ enum · 899 unmodified lines
931930
932931 #ifdef __KERNEL__
933932 #include <linux/list.h>
933+#include <linux/rcupdate.h>
934934
935935 /* For the /proc/sys support */
936936 struct 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