diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-07-23 16:55:17 -0400 |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-10-31 19:30:57 -0400 |
commit | 848484e2c41220f07b432ffea79874a1b02ce6db (patch) | |
tree | 1b74483dc2e5cbce9fac843d4efb5563af20a4e3 /arch | |
parent | 73bc256d47a23272ce1dd50b4de64a0ff23d01f1 (diff) |
mips: remove needless include of module.h from core kernel files.
None of these files are using modular infrastructure, and build
tests reveal that none of these files are really relying on any
implicit inclusions via. module.h either. So delete them.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/kernel/8250-platform.c | 1 | ||||
-rw-r--r-- | arch/mips/kernel/irq-msc01.c | 1 | ||||
-rw-r--r-- | arch/mips/kernel/irq.c | 1 | ||||
-rw-r--r-- | arch/mips/kernel/module.c | 1 | ||||
-rw-r--r-- | arch/mips/kernel/process.c | 1 | ||||
-rw-r--r-- | arch/mips/kernel/rtlx.c | 1 | ||||
-rw-r--r-- | arch/mips/kernel/traps.c | 1 | ||||
-rw-r--r-- | arch/mips/kernel/unaligned.c | 1 | ||||
-rw-r--r-- | arch/mips/kernel/vpe.c | 1 |
9 files changed, 0 insertions, 9 deletions
diff --git a/arch/mips/kernel/8250-platform.c b/arch/mips/kernel/8250-platform.c index cbf3fe20ad17..5c6b2ab1f56e 100644 --- a/arch/mips/kernel/8250-platform.c +++ b/arch/mips/kernel/8250-platform.c | |||
@@ -5,7 +5,6 @@ | |||
5 | * | 5 | * |
6 | * Copyright (C) 2007 Ralf Baechle (ralf@linux-mips.org) | 6 | * Copyright (C) 2007 Ralf Baechle (ralf@linux-mips.org) |
7 | */ | 7 | */ |
8 | #include <linux/module.h> | ||
9 | #include <linux/init.h> | 8 | #include <linux/init.h> |
10 | #include <linux/serial_8250.h> | 9 | #include <linux/serial_8250.h> |
11 | 10 | ||
diff --git a/arch/mips/kernel/irq-msc01.c b/arch/mips/kernel/irq-msc01.c index 0c6afeed89d2..14ac52c5ae86 100644 --- a/arch/mips/kernel/irq-msc01.c +++ b/arch/mips/kernel/irq-msc01.c | |||
@@ -9,7 +9,6 @@ | |||
9 | * | 9 | * |
10 | * Copyright (C) 2004, 06 Ralf Baechle <ralf@linux-mips.org> | 10 | * Copyright (C) 2004, 06 Ralf Baechle <ralf@linux-mips.org> |
11 | */ | 11 | */ |
12 | #include <linux/module.h> | ||
13 | #include <linux/interrupt.h> | 12 | #include <linux/interrupt.h> |
14 | #include <linux/kernel.h> | 13 | #include <linux/kernel.h> |
15 | #include <linux/sched.h> | 14 | #include <linux/sched.h> |
diff --git a/arch/mips/kernel/irq.c b/arch/mips/kernel/irq.c index b53970d80991..7f50318061b5 100644 --- a/arch/mips/kernel/irq.c +++ b/arch/mips/kernel/irq.c | |||
@@ -13,7 +13,6 @@ | |||
13 | #include <linux/init.h> | 13 | #include <linux/init.h> |
14 | #include <linux/interrupt.h> | 14 | #include <linux/interrupt.h> |
15 | #include <linux/kernel_stat.h> | 15 | #include <linux/kernel_stat.h> |
16 | #include <linux/module.h> | ||
17 | #include <linux/proc_fs.h> | 16 | #include <linux/proc_fs.h> |
18 | #include <linux/mm.h> | 17 | #include <linux/mm.h> |
19 | #include <linux/random.h> | 18 | #include <linux/random.h> |
diff --git a/arch/mips/kernel/module.c b/arch/mips/kernel/module.c index 4b930ac4aff2..a5066b1c3de3 100644 --- a/arch/mips/kernel/module.c +++ b/arch/mips/kernel/module.c | |||
@@ -28,7 +28,6 @@ | |||
28 | #include <linux/fs.h> | 28 | #include <linux/fs.h> |
29 | #include <linux/string.h> | 29 | #include <linux/string.h> |
30 | #include <linux/kernel.h> | 30 | #include <linux/kernel.h> |
31 | #include <linux/module.h> | ||
32 | #include <linux/spinlock.h> | 31 | #include <linux/spinlock.h> |
33 | #include <linux/jump_label.h> | 32 | #include <linux/jump_label.h> |
34 | 33 | ||
diff --git a/arch/mips/kernel/process.c b/arch/mips/kernel/process.c index b30cb2573aaf..5b7a28448fae 100644 --- a/arch/mips/kernel/process.c +++ b/arch/mips/kernel/process.c | |||
@@ -9,7 +9,6 @@ | |||
9 | * Copyright (C) 2004 Thiemo Seufer | 9 | * Copyright (C) 2004 Thiemo Seufer |
10 | */ | 10 | */ |
11 | #include <linux/errno.h> | 11 | #include <linux/errno.h> |
12 | #include <linux/module.h> | ||
13 | #include <linux/sched.h> | 12 | #include <linux/sched.h> |
14 | #include <linux/tick.h> | 13 | #include <linux/tick.h> |
15 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
diff --git a/arch/mips/kernel/rtlx.c b/arch/mips/kernel/rtlx.c index 7a80b7cda7cc..933166f44a6d 100644 --- a/arch/mips/kernel/rtlx.c +++ b/arch/mips/kernel/rtlx.c | |||
@@ -19,7 +19,6 @@ | |||
19 | 19 | ||
20 | #include <linux/device.h> | 20 | #include <linux/device.h> |
21 | #include <linux/kernel.h> | 21 | #include <linux/kernel.h> |
22 | #include <linux/module.h> | ||
23 | #include <linux/fs.h> | 22 | #include <linux/fs.h> |
24 | #include <linux/init.h> | 23 | #include <linux/init.h> |
25 | #include <asm/uaccess.h> | 24 | #include <asm/uaccess.h> |
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index cbea618af0b4..261ccbc07740 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c | |||
@@ -16,7 +16,6 @@ | |||
16 | #include <linux/init.h> | 16 | #include <linux/init.h> |
17 | #include <linux/kernel.h> | 17 | #include <linux/kernel.h> |
18 | #include <linux/mm.h> | 18 | #include <linux/mm.h> |
19 | #include <linux/module.h> | ||
20 | #include <linux/sched.h> | 19 | #include <linux/sched.h> |
21 | #include <linux/smp.h> | 20 | #include <linux/smp.h> |
22 | #include <linux/spinlock.h> | 21 | #include <linux/spinlock.h> |
diff --git a/arch/mips/kernel/unaligned.c b/arch/mips/kernel/unaligned.c index eb319b580353..aedb8941caa5 100644 --- a/arch/mips/kernel/unaligned.c +++ b/arch/mips/kernel/unaligned.c | |||
@@ -73,7 +73,6 @@ | |||
73 | * Undo the partial store in this case. | 73 | * Undo the partial store in this case. |
74 | */ | 74 | */ |
75 | #include <linux/mm.h> | 75 | #include <linux/mm.h> |
76 | #include <linux/module.h> | ||
77 | #include <linux/signal.h> | 76 | #include <linux/signal.h> |
78 | #include <linux/smp.h> | 77 | #include <linux/smp.h> |
79 | #include <linux/sched.h> | 78 | #include <linux/sched.h> |
diff --git a/arch/mips/kernel/vpe.c b/arch/mips/kernel/vpe.c index 3efcb065f78a..bfa12a4f97b9 100644 --- a/arch/mips/kernel/vpe.c +++ b/arch/mips/kernel/vpe.c | |||
@@ -29,7 +29,6 @@ | |||
29 | */ | 29 | */ |
30 | #include <linux/kernel.h> | 30 | #include <linux/kernel.h> |
31 | #include <linux/device.h> | 31 | #include <linux/device.h> |
32 | #include <linux/module.h> | ||
33 | #include <linux/fs.h> | 32 | #include <linux/fs.h> |
34 | #include <linux/init.h> | 33 | #include <linux/init.h> |
35 | #include <asm/uaccess.h> | 34 | #include <asm/uaccess.h> |