diff options
| author | Michal Simek <michal.simek@xilinx.com> | 2013-02-01 07:10:35 -0500 |
|---|---|---|
| committer | Michal Simek <michal.simek@xilinx.com> | 2013-02-12 05:24:45 -0500 |
| commit | d64af918feb6cb81c396d6d2dabb738bc51dda3f (patch) | |
| tree | a13ce75ae3e54e177a6219a3961f90f7c3aa861e /arch/microblaze/kernel | |
| parent | 6bd55f0bbaebb79b39e147aa864401fd0c94db82 (diff) | |
microblaze: Do not use module.h in files which are not modules
Based on the patch:
"lib: reduce the use of module.h wherever possible"
(sha1: 8bc3bcc93a2b4e47d5d410146f6546bca6171663)
fix all microblaze files which are not modules.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/kernel')
| -rw-r--r-- | arch/microblaze/kernel/exceptions.c | 2 | ||||
| -rw-r--r-- | arch/microblaze/kernel/microblaze_ksyms.c | 2 | ||||
| -rw-r--r-- | arch/microblaze/kernel/module.c | 2 | ||||
| -rw-r--r-- | arch/microblaze/kernel/process.c | 2 | ||||
| -rw-r--r-- | arch/microblaze/kernel/prom.c | 2 | ||||
| -rw-r--r-- | arch/microblaze/kernel/prom_parse.c | 2 | ||||
| -rw-r--r-- | arch/microblaze/kernel/stacktrace.c | 2 | ||||
| -rw-r--r-- | arch/microblaze/kernel/sys_microblaze.c | 2 | ||||
| -rw-r--r-- | arch/microblaze/kernel/traps.c | 2 | ||||
| -rw-r--r-- | arch/microblaze/kernel/unwind.c | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/arch/microblaze/kernel/exceptions.c b/arch/microblaze/kernel/exceptions.c index d6edf5d39cfa..42dd12a62ff5 100644 --- a/arch/microblaze/kernel/exceptions.c +++ b/arch/microblaze/kernel/exceptions.c | |||
| @@ -13,11 +13,11 @@ | |||
| 13 | * This file handles the architecture-dependent parts of hardware exceptions | 13 | * This file handles the architecture-dependent parts of hardware exceptions |
| 14 | */ | 14 | */ |
| 15 | 15 | ||
| 16 | #include <linux/export.h> | ||
| 16 | #include <linux/kernel.h> | 17 | #include <linux/kernel.h> |
| 17 | #include <linux/signal.h> | 18 | #include <linux/signal.h> |
| 18 | #include <linux/sched.h> | 19 | #include <linux/sched.h> |
| 19 | #include <linux/kallsyms.h> | 20 | #include <linux/kallsyms.h> |
| 20 | #include <linux/module.h> | ||
| 21 | 21 | ||
| 22 | #include <asm/exceptions.h> | 22 | #include <asm/exceptions.h> |
| 23 | #include <asm/entry.h> /* For KM CPU var */ | 23 | #include <asm/entry.h> /* For KM CPU var */ |
diff --git a/arch/microblaze/kernel/microblaze_ksyms.c b/arch/microblaze/kernel/microblaze_ksyms.c index 2b25bcf05c00..9f1d02c4c5cc 100644 --- a/arch/microblaze/kernel/microblaze_ksyms.c +++ b/arch/microblaze/kernel/microblaze_ksyms.c | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | * published by the Free Software Foundation. | 7 | * published by the Free Software Foundation. |
| 8 | */ | 8 | */ |
| 9 | 9 | ||
| 10 | #include <linux/module.h> | 10 | #include <linux/export.h> |
| 11 | #include <linux/string.h> | 11 | #include <linux/string.h> |
| 12 | #include <linux/cryptohash.h> | 12 | #include <linux/cryptohash.h> |
| 13 | #include <linux/delay.h> | 13 | #include <linux/delay.h> |
diff --git a/arch/microblaze/kernel/module.c b/arch/microblaze/kernel/module.c index f0f43688a0c6..182e6be856cd 100644 --- a/arch/microblaze/kernel/module.c +++ b/arch/microblaze/kernel/module.c | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | * published by the Free Software Foundation. | 7 | * published by the Free Software Foundation. |
| 8 | */ | 8 | */ |
| 9 | 9 | ||
| 10 | #include <linux/module.h> | 10 | #include <linux/export.h> |
| 11 | #include <linux/moduleloader.h> | 11 | #include <linux/moduleloader.h> |
| 12 | #include <linux/kernel.h> | 12 | #include <linux/kernel.h> |
| 13 | #include <linux/elf.h> | 13 | #include <linux/elf.h> |
diff --git a/arch/microblaze/kernel/process.c b/arch/microblaze/kernel/process.c index 282dfb8f1fe7..246d4c1a9d53 100644 --- a/arch/microblaze/kernel/process.c +++ b/arch/microblaze/kernel/process.c | |||
| @@ -8,7 +8,7 @@ | |||
| 8 | * for more details. | 8 | * for more details. |
| 9 | */ | 9 | */ |
| 10 | 10 | ||
| 11 | #include <linux/module.h> | 11 | #include <linux/export.h> |
| 12 | #include <linux/sched.h> | 12 | #include <linux/sched.h> |
| 13 | #include <linux/pm.h> | 13 | #include <linux/pm.h> |
| 14 | #include <linux/tick.h> | 14 | #include <linux/tick.h> |
diff --git a/arch/microblaze/kernel/prom.c b/arch/microblaze/kernel/prom.c index a744e3f18883..0a2c68f9f9b0 100644 --- a/arch/microblaze/kernel/prom.c +++ b/arch/microblaze/kernel/prom.c | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | */ | 14 | */ |
| 15 | 15 | ||
| 16 | #include <stdarg.h> | 16 | #include <stdarg.h> |
| 17 | #include <linux/export.h> | ||
| 17 | #include <linux/kernel.h> | 18 | #include <linux/kernel.h> |
| 18 | #include <linux/string.h> | 19 | #include <linux/string.h> |
| 19 | #include <linux/init.h> | 20 | #include <linux/init.h> |
| @@ -25,7 +26,6 @@ | |||
| 25 | #include <linux/delay.h> | 26 | #include <linux/delay.h> |
| 26 | #include <linux/initrd.h> | 27 | #include <linux/initrd.h> |
| 27 | #include <linux/bitops.h> | 28 | #include <linux/bitops.h> |
| 28 | #include <linux/module.h> | ||
| 29 | #include <linux/kexec.h> | 29 | #include <linux/kexec.h> |
| 30 | #include <linux/debugfs.h> | 30 | #include <linux/debugfs.h> |
| 31 | #include <linux/irq.h> | 31 | #include <linux/irq.h> |
diff --git a/arch/microblaze/kernel/prom_parse.c b/arch/microblaze/kernel/prom_parse.c index 47187cc2cf00..068762f55fd6 100644 --- a/arch/microblaze/kernel/prom_parse.c +++ b/arch/microblaze/kernel/prom_parse.c | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | #undef DEBUG | 1 | #undef DEBUG |
| 2 | 2 | ||
| 3 | #include <linux/export.h> | ||
| 3 | #include <linux/kernel.h> | 4 | #include <linux/kernel.h> |
| 4 | #include <linux/string.h> | 5 | #include <linux/string.h> |
| 5 | #include <linux/module.h> | ||
| 6 | #include <linux/ioport.h> | 6 | #include <linux/ioport.h> |
| 7 | #include <linux/etherdevice.h> | 7 | #include <linux/etherdevice.h> |
| 8 | #include <linux/of_address.h> | 8 | #include <linux/of_address.h> |
diff --git a/arch/microblaze/kernel/stacktrace.c b/arch/microblaze/kernel/stacktrace.c index 84bc6686102c..b4debe283a79 100644 --- a/arch/microblaze/kernel/stacktrace.c +++ b/arch/microblaze/kernel/stacktrace.c | |||
| @@ -9,11 +9,11 @@ | |||
| 9 | * for more details. | 9 | * for more details. |
| 10 | */ | 10 | */ |
| 11 | 11 | ||
| 12 | #include <linux/export.h> | ||
| 12 | #include <linux/sched.h> | 13 | #include <linux/sched.h> |
| 13 | #include <linux/stacktrace.h> | 14 | #include <linux/stacktrace.h> |
| 14 | #include <linux/thread_info.h> | 15 | #include <linux/thread_info.h> |
| 15 | #include <linux/ptrace.h> | 16 | #include <linux/ptrace.h> |
| 16 | #include <linux/module.h> | ||
| 17 | #include <asm/unwind.h> | 17 | #include <asm/unwind.h> |
| 18 | 18 | ||
| 19 | void save_stack_trace(struct stack_trace *trace) | 19 | void save_stack_trace(struct stack_trace *trace) |
diff --git a/arch/microblaze/kernel/sys_microblaze.c b/arch/microblaze/kernel/sys_microblaze.c index 3845677e93ea..f905b3ae68c7 100644 --- a/arch/microblaze/kernel/sys_microblaze.c +++ b/arch/microblaze/kernel/sys_microblaze.c | |||
| @@ -13,6 +13,7 @@ | |||
| 13 | */ | 13 | */ |
| 14 | 14 | ||
| 15 | #include <linux/errno.h> | 15 | #include <linux/errno.h> |
| 16 | #include <linux/export.h> | ||
| 16 | #include <linux/mm.h> | 17 | #include <linux/mm.h> |
| 17 | #include <linux/smp.h> | 18 | #include <linux/smp.h> |
| 18 | #include <linux/syscalls.h> | 19 | #include <linux/syscalls.h> |
| @@ -24,7 +25,6 @@ | |||
| 24 | #include <linux/sys.h> | 25 | #include <linux/sys.h> |
| 25 | #include <linux/ipc.h> | 26 | #include <linux/ipc.h> |
| 26 | #include <linux/file.h> | 27 | #include <linux/file.h> |
| 27 | #include <linux/module.h> | ||
| 28 | #include <linux/err.h> | 28 | #include <linux/err.h> |
| 29 | #include <linux/fs.h> | 29 | #include <linux/fs.h> |
| 30 | #include <linux/semaphore.h> | 30 | #include <linux/semaphore.h> |
diff --git a/arch/microblaze/kernel/traps.c b/arch/microblaze/kernel/traps.c index a37b2b111d86..30e6b5004a6a 100644 --- a/arch/microblaze/kernel/traps.c +++ b/arch/microblaze/kernel/traps.c | |||
| @@ -8,9 +8,9 @@ | |||
| 8 | * for more details. | 8 | * for more details. |
| 9 | */ | 9 | */ |
| 10 | 10 | ||
| 11 | #include <linux/export.h> | ||
| 11 | #include <linux/kernel.h> | 12 | #include <linux/kernel.h> |
| 12 | #include <linux/kallsyms.h> | 13 | #include <linux/kallsyms.h> |
| 13 | #include <linux/module.h> | ||
| 14 | #include <linux/sched.h> | 14 | #include <linux/sched.h> |
| 15 | #include <linux/debug_locks.h> | 15 | #include <linux/debug_locks.h> |
| 16 | 16 | ||
diff --git a/arch/microblaze/kernel/unwind.c b/arch/microblaze/kernel/unwind.c index 6be4ae3c3351..1f7b8d449668 100644 --- a/arch/microblaze/kernel/unwind.c +++ b/arch/microblaze/kernel/unwind.c | |||
| @@ -13,13 +13,13 @@ | |||
| 13 | */ | 13 | */ |
| 14 | 14 | ||
| 15 | /* #define DEBUG 1 */ | 15 | /* #define DEBUG 1 */ |
| 16 | #include <linux/export.h> | ||
| 16 | #include <linux/kallsyms.h> | 17 | #include <linux/kallsyms.h> |
| 17 | #include <linux/kernel.h> | 18 | #include <linux/kernel.h> |
| 18 | #include <linux/sched.h> | 19 | #include <linux/sched.h> |
| 19 | #include <linux/stacktrace.h> | 20 | #include <linux/stacktrace.h> |
| 20 | #include <linux/types.h> | 21 | #include <linux/types.h> |
| 21 | #include <linux/errno.h> | 22 | #include <linux/errno.h> |
| 22 | #include <linux/module.h> | ||
| 23 | #include <linux/io.h> | 23 | #include <linux/io.h> |
| 24 | #include <asm/sections.h> | 24 | #include <asm/sections.h> |
| 25 | #include <asm/exceptions.h> | 25 | #include <asm/exceptions.h> |
