Commit bdfa97bf7263657b83bc5b68567a3a60dde84c5b

Authored by Paul Gortmaker
1 parent 72a59aaada

kernel: fix up module header handling in rcutiny files

The file rcutiny.c does not need moduleparam.h header, as
there are no modparams in this file.

However rcutiny_plugin.h does define a module_init() and
a module_exit() and it uses the various MODULE_ macros, so
it really does need module.h included.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>

Showing 2 changed files with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -22,7 +22,6 @@
22 22 * For detailed explanation of Read-Copy Update mechanism see -
23 23 * Documentation/RCU
24 24 */
25   -#include <linux/moduleparam.h>
26 25 #include <linux/completion.h>
27 26 #include <linux/interrupt.h>
28 27 #include <linux/notifier.h>
kernel/rcutiny_plugin.h
... ... @@ -23,6 +23,7 @@
23 23 */
24 24  
25 25 #include <linux/kthread.h>
  26 +#include <linux/module.h>
26 27 #include <linux/debugfs.h>
27 28 #include <linux/seq_file.h>
28 29