Commit
e25934a51772f47edd94d7b7d08b0e167769639c
mm: delete various needless include <linux/module.h>
There is nothing modular in these files, and no reason to drag
in all the 357 headers that module.h brings with it, since
it just slows down compiles.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Showing
6 changed files
with
0 additions
and
6 deletions
Side-by-side Diff
... |
... |
@@ -13,7 +13,6 @@ |
13
|
13 |
#include <linux/pagemap.h> |
14
|
14 |
#include <linux/swapops.h> |
15
|
15 |
#include <linux/rmap.h> |
16
|
|
-#include <linux/module.h> |
17
|
16 |
#include <linux/syscalls.h> |
18
|
17 |
#include <linux/mmu_notifier.h> |
19
|
18 |
|
... |
... |
@@ -8,7 +8,6 @@ |
8
|
8 |
#include <linux/stddef.h> |
9
|
9 |
#include <linux/mm.h> |
10
|
10 |
#include <linux/mmzone.h> |
11
|
|
-#include <linux/module.h> |
12
|
11 |
|
13
|
12 |
struct pglist_data *first_online_pgdat(void) |
14
|
13 |
{ |
... |
... |
@@ -17,7 +17,6 @@ |
17
|
17 |
#include <linux/gfp.h> |
18
|
18 |
#include <linux/mm.h> |
19
|
19 |
#include <linux/mmzone.h> |
20
|
|
-#include <linux/module.h> |
21
|
20 |
#include <linux/quicklist.h> |
22
|
21 |
|
23
|
22 |
DEFINE_PER_CPU(struct quicklist [CONFIG_NR_QUICK], quicklist); |
... |
... |
@@ -21,7 +21,6 @@ |
21
|
21 |
#include <linux/mmzone.h> |
22
|
22 |
#include <linux/bootmem.h> |
23
|
23 |
#include <linux/highmem.h> |
24
|
|
-#include <linux/module.h> |
25
|
24 |
#include <linux/slab.h> |
26
|
25 |
#include <linux/spinlock.h> |
27
|
26 |
#include <linux/vmalloc.h> |
... |
... |
@@ -6,7 +6,6 @@ |
6
|
6 |
* |
7
|
7 |
* Rewritten to use page cache, (C) 1998 Stephen Tweedie |
8
|
8 |
*/ |
9
|
|
-#include <linux/module.h> |
10
|
9 |
#include <linux/mm.h> |
11
|
10 |
#include <linux/gfp.h> |
12
|
11 |
#include <linux/kernel_stat.h> |
... |
... |
@@ -21,7 +21,6 @@ |
21
|
21 |
#include <linux/proc_fs.h> |
22
|
22 |
#include <linux/seq_file.h> |
23
|
23 |
#include <linux/init.h> |
24
|
|
-#include <linux/module.h> |
25
|
24 |
#include <linux/ksm.h> |
26
|
25 |
#include <linux/rmap.h> |
27
|
26 |
#include <linux/security.h> |