Commit 73bc256d47a23272ce1dd50b4de64a0ff23d01f1

Authored by Paul Gortmaker
1 parent c72f4d6141

mips: migrate core kernel file from module.h --> export.h

These files are not modules, but were including module.h only for
EXPORT_SYMBOL and/or THIS_MODULE.  Now that we have the lightweight
export.h, use it in these kinds of cases.

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

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

arch/mips/kernel/cpu-probe.c
... ... @@ -16,7 +16,7 @@
16 16 #include <linux/ptrace.h>
17 17 #include <linux/smp.h>
18 18 #include <linux/stddef.h>
19   -#include <linux/module.h>
  19 +#include <linux/export.h>
20 20  
21 21 #include <asm/bugs.h>
22 22 #include <asm/cpu.h>
arch/mips/kernel/i8253.c
... ... @@ -4,7 +4,7 @@
4 4 */
5 5 #include <linux/clockchips.h>
6 6 #include <linux/i8253.h>
7   -#include <linux/module.h>
  7 +#include <linux/export.h>
8 8 #include <linux/smp.h>
9 9 #include <linux/irq.h>
10 10  
arch/mips/kernel/init_task.c
1 1 #include <linux/mm.h>
2   -#include <linux/module.h>
  2 +#include <linux/export.h>
3 3 #include <linux/sched.h>
4 4 #include <linux/init_task.h>
5 5 #include <linux/fs.h>
arch/mips/kernel/mips-mt.c
... ... @@ -6,7 +6,7 @@
6 6 #include <linux/device.h>
7 7 #include <linux/kernel.h>
8 8 #include <linux/sched.h>
9   -#include <linux/module.h>
  9 +#include <linux/export.h>
10 10 #include <linux/interrupt.h>
11 11 #include <linux/security.h>
12 12  
arch/mips/kernel/mips_ksyms.c
... ... @@ -9,7 +9,7 @@
9 9 * Copyright (C) 1999, 2000, 01 Silicon Graphics, Inc.
10 10 */
11 11 #include <linux/interrupt.h>
12   -#include <linux/module.h>
  12 +#include <linux/export.h>
13 13 #include <asm/checksum.h>
14 14 #include <asm/pgtable.h>
15 15 #include <asm/uaccess.h>
arch/mips/kernel/prom.c
... ... @@ -9,7 +9,7 @@
9 9 */
10 10  
11 11 #include <linux/init.h>
12   -#include <linux/module.h>
  12 +#include <linux/export.h>
13 13 #include <linux/errno.h>
14 14 #include <linux/types.h>
15 15 #include <linux/bootmem.h>
arch/mips/kernel/reset.c
... ... @@ -7,7 +7,7 @@
7 7 * Copyright (C) 2001 MIPS Technologies, Inc.
8 8 */
9 9 #include <linux/kernel.h>
10   -#include <linux/module.h>
  10 +#include <linux/export.h>
11 11 #include <linux/pm.h>
12 12 #include <linux/types.h>
13 13 #include <linux/reboot.h>
arch/mips/kernel/setup.c
... ... @@ -12,7 +12,7 @@
12 12 */
13 13 #include <linux/init.h>
14 14 #include <linux/ioport.h>
15   -#include <linux/module.h>
  15 +#include <linux/export.h>
16 16 #include <linux/screen_info.h>
17 17 #include <linux/bootmem.h>
18 18 #include <linux/initrd.h>
arch/mips/kernel/spinlock_test.c
... ... @@ -3,7 +3,7 @@
3 3 #include <linux/hrtimer.h>
4 4 #include <linux/fs.h>
5 5 #include <linux/debugfs.h>
6   -#include <linux/module.h>
  6 +#include <linux/export.h>
7 7 #include <linux/spinlock.h>
8 8  
9 9  
arch/mips/kernel/stacktrace.c
... ... @@ -5,7 +5,7 @@
5 5 */
6 6 #include <linux/sched.h>
7 7 #include <linux/stacktrace.h>
8   -#include <linux/module.h>
  8 +#include <linux/export.h>
9 9 #include <asm/stacktrace.h>
10 10  
11 11 /*
arch/mips/kernel/time.c
... ... @@ -21,7 +21,7 @@
21 21 #include <linux/timex.h>
22 22 #include <linux/smp.h>
23 23 #include <linux/spinlock.h>
24   -#include <linux/module.h>
  24 +#include <linux/export.h>
25 25  
26 26 #include <asm/cpu-features.h>
27 27 #include <asm/div64.h>