diff options
Diffstat (limited to 'arch/arm/kernel')
-rw-r--r-- | arch/arm/kernel/apm.c | 1 | ||||
-rw-r--r-- | arch/arm/kernel/bios32.c | 7 | ||||
-rw-r--r-- | arch/arm/kernel/compat.c | 1 | ||||
-rw-r--r-- | arch/arm/kernel/debug.S | 1 | ||||
-rw-r--r-- | arch/arm/kernel/ecard.c | 1 | ||||
-rw-r--r-- | arch/arm/kernel/entry-armv.S | 1 | ||||
-rw-r--r-- | arch/arm/kernel/entry-common.S | 1 | ||||
-rw-r--r-- | arch/arm/kernel/entry-header.S | 1 | ||||
-rw-r--r-- | arch/arm/kernel/head-nommu.S | 1 | ||||
-rw-r--r-- | arch/arm/kernel/head.S | 1 | ||||
-rw-r--r-- | arch/arm/kernel/irq.c | 1 | ||||
-rw-r--r-- | arch/arm/kernel/module.c | 1 | ||||
-rw-r--r-- | arch/arm/kernel/process.c | 1 | ||||
-rw-r--r-- | arch/arm/kernel/ptrace.c | 1 | ||||
-rw-r--r-- | arch/arm/kernel/setup.c | 43 | ||||
-rw-r--r-- | arch/arm/kernel/signal.c | 1 | ||||
-rw-r--r-- | arch/arm/kernel/smp.c | 1 | ||||
-rw-r--r-- | arch/arm/kernel/time.c | 1 | ||||
-rw-r--r-- | arch/arm/kernel/traps.c | 1 | ||||
-rw-r--r-- | arch/arm/kernel/vmlinux.lds.S | 1 |
20 files changed, 39 insertions, 29 deletions
diff --git a/arch/arm/kernel/apm.c b/arch/arm/kernel/apm.c index 2bed290fec76..33c55689f999 100644 --- a/arch/arm/kernel/apm.c +++ b/arch/arm/kernel/apm.c | |||
@@ -10,7 +10,6 @@ | |||
10 | * [This document is available from Microsoft at: | 10 | * [This document is available from Microsoft at: |
11 | * http://www.microsoft.com/hwdev/busbios/amp_12.htm] | 11 | * http://www.microsoft.com/hwdev/busbios/amp_12.htm] |
12 | */ | 12 | */ |
13 | #include <linux/config.h> | ||
14 | #include <linux/module.h> | 13 | #include <linux/module.h> |
15 | #include <linux/poll.h> | 14 | #include <linux/poll.h> |
16 | #include <linux/timer.h> | 15 | #include <linux/timer.h> |
diff --git a/arch/arm/kernel/bios32.c b/arch/arm/kernel/bios32.c index 302fc1401547..964faac104fb 100644 --- a/arch/arm/kernel/bios32.c +++ b/arch/arm/kernel/bios32.c | |||
@@ -5,7 +5,6 @@ | |||
5 | * | 5 | * |
6 | * Bits taken from various places. | 6 | * Bits taken from various places. |
7 | */ | 7 | */ |
8 | #include <linux/config.h> | ||
9 | #include <linux/module.h> | 8 | #include <linux/module.h> |
10 | #include <linux/kernel.h> | 9 | #include <linux/kernel.h> |
11 | #include <linux/pci.h> | 10 | #include <linux/pci.h> |
@@ -304,7 +303,7 @@ static inline int pdev_bad_for_parity(struct pci_dev *dev) | |||
304 | static void __devinit | 303 | static void __devinit |
305 | pdev_fixup_device_resources(struct pci_sys_data *root, struct pci_dev *dev) | 304 | pdev_fixup_device_resources(struct pci_sys_data *root, struct pci_dev *dev) |
306 | { | 305 | { |
307 | unsigned long offset; | 306 | resource_size_t offset; |
308 | int i; | 307 | int i; |
309 | 308 | ||
310 | for (i = 0; i < PCI_NUM_RESOURCES; i++) { | 309 | for (i = 0; i < PCI_NUM_RESOURCES; i++) { |
@@ -634,9 +633,9 @@ char * __init pcibios_setup(char *str) | |||
634 | * which might be mirrored at 0x0100-0x03ff.. | 633 | * which might be mirrored at 0x0100-0x03ff.. |
635 | */ | 634 | */ |
636 | void pcibios_align_resource(void *data, struct resource *res, | 635 | void pcibios_align_resource(void *data, struct resource *res, |
637 | unsigned long size, unsigned long align) | 636 | resource_size_t size, resource_size_t align) |
638 | { | 637 | { |
639 | unsigned long start = res->start; | 638 | resource_size_t start = res->start; |
640 | 639 | ||
641 | if (res->flags & IORESOURCE_IO && start & 0x300) | 640 | if (res->flags & IORESOURCE_IO && start & 0x300) |
642 | start = (start + 0x3ff) & ~0x3ff; | 641 | start = (start + 0x3ff) & ~0x3ff; |
diff --git a/arch/arm/kernel/compat.c b/arch/arm/kernel/compat.c index 60cfa7f3226c..0a1385442f43 100644 --- a/arch/arm/kernel/compat.c +++ b/arch/arm/kernel/compat.c | |||
@@ -15,7 +15,6 @@ | |||
15 | * the kernel for 5 years from now (2001). This will allow boot loaders | 15 | * the kernel for 5 years from now (2001). This will allow boot loaders |
16 | * to convert to the new struct tag way. | 16 | * to convert to the new struct tag way. |
17 | */ | 17 | */ |
18 | #include <linux/config.h> | ||
19 | #include <linux/types.h> | 18 | #include <linux/types.h> |
20 | #include <linux/kernel.h> | 19 | #include <linux/kernel.h> |
21 | #include <linux/string.h> | 20 | #include <linux/string.h> |
diff --git a/arch/arm/kernel/debug.S b/arch/arm/kernel/debug.S index da280bae3d07..a5747e58a9dc 100644 --- a/arch/arm/kernel/debug.S +++ b/arch/arm/kernel/debug.S | |||
@@ -9,7 +9,6 @@ | |||
9 | * | 9 | * |
10 | * 32-bit debugging code | 10 | * 32-bit debugging code |
11 | */ | 11 | */ |
12 | #include <linux/config.h> | ||
13 | #include <linux/linkage.h> | 12 | #include <linux/linkage.h> |
14 | 13 | ||
15 | .text | 14 | .text |
diff --git a/arch/arm/kernel/ecard.c b/arch/arm/kernel/ecard.c index 00aa225e8d95..68a257666d95 100644 --- a/arch/arm/kernel/ecard.c +++ b/arch/arm/kernel/ecard.c | |||
@@ -27,7 +27,6 @@ | |||
27 | */ | 27 | */ |
28 | #define ECARD_C | 28 | #define ECARD_C |
29 | 29 | ||
30 | #include <linux/config.h> | ||
31 | #include <linux/module.h> | 30 | #include <linux/module.h> |
32 | #include <linux/kernel.h> | 31 | #include <linux/kernel.h> |
33 | #include <linux/types.h> | 32 | #include <linux/types.h> |
diff --git a/arch/arm/kernel/entry-armv.S b/arch/arm/kernel/entry-armv.S index 0e8aeaf9ff1d..7ea5f01dfc7b 100644 --- a/arch/arm/kernel/entry-armv.S +++ b/arch/arm/kernel/entry-armv.S | |||
@@ -14,7 +14,6 @@ | |||
14 | * Note: there is a StrongARM bug in the STMIA rn, {regs}^ instruction that causes | 14 | * Note: there is a StrongARM bug in the STMIA rn, {regs}^ instruction that causes |
15 | * it to save wrong values... Be aware! | 15 | * it to save wrong values... Be aware! |
16 | */ | 16 | */ |
17 | #include <linux/config.h> | ||
18 | 17 | ||
19 | #include <asm/memory.h> | 18 | #include <asm/memory.h> |
20 | #include <asm/glue.h> | 19 | #include <asm/glue.h> |
diff --git a/arch/arm/kernel/entry-common.S b/arch/arm/kernel/entry-common.S index 75af6d6e2f28..6f5e7c50d42f 100644 --- a/arch/arm/kernel/entry-common.S +++ b/arch/arm/kernel/entry-common.S | |||
@@ -7,7 +7,6 @@ | |||
7 | * it under the terms of the GNU General Public License version 2 as | 7 | * it under the terms of the GNU General Public License version 2 as |
8 | * published by the Free Software Foundation. | 8 | * published by the Free Software Foundation. |
9 | */ | 9 | */ |
10 | #include <linux/config.h> | ||
11 | 10 | ||
12 | #include <asm/unistd.h> | 11 | #include <asm/unistd.h> |
13 | 12 | ||
diff --git a/arch/arm/kernel/entry-header.S b/arch/arm/kernel/entry-header.S index f1c2fd5b63e4..87ab4e157997 100644 --- a/arch/arm/kernel/entry-header.S +++ b/arch/arm/kernel/entry-header.S | |||
@@ -1,4 +1,3 @@ | |||
1 | #include <linux/config.h> | ||
2 | #include <linux/init.h> | 1 | #include <linux/init.h> |
3 | #include <linux/linkage.h> | 2 | #include <linux/linkage.h> |
4 | 3 | ||
diff --git a/arch/arm/kernel/head-nommu.S b/arch/arm/kernel/head-nommu.S index 2af7e44218af..ac9eb3d30518 100644 --- a/arch/arm/kernel/head-nommu.S +++ b/arch/arm/kernel/head-nommu.S | |||
@@ -12,7 +12,6 @@ | |||
12 | * for 32-bit CPUs which has a process ID register(CP15). | 12 | * for 32-bit CPUs which has a process ID register(CP15). |
13 | * | 13 | * |
14 | */ | 14 | */ |
15 | #include <linux/config.h> | ||
16 | #include <linux/linkage.h> | 15 | #include <linux/linkage.h> |
17 | #include <linux/init.h> | 16 | #include <linux/init.h> |
18 | 17 | ||
diff --git a/arch/arm/kernel/head.S b/arch/arm/kernel/head.S index 81cb902c487c..2242f5f7cb7d 100644 --- a/arch/arm/kernel/head.S +++ b/arch/arm/kernel/head.S | |||
@@ -11,7 +11,6 @@ | |||
11 | * | 11 | * |
12 | * Kernel startup code for all 32-bit CPUs | 12 | * Kernel startup code for all 32-bit CPUs |
13 | */ | 13 | */ |
14 | #include <linux/config.h> | ||
15 | #include <linux/linkage.h> | 14 | #include <linux/linkage.h> |
16 | #include <linux/init.h> | 15 | #include <linux/init.h> |
17 | 16 | ||
diff --git a/arch/arm/kernel/irq.c b/arch/arm/kernel/irq.c index ec20f8935e8b..4d31cf8d02d5 100644 --- a/arch/arm/kernel/irq.c +++ b/arch/arm/kernel/irq.c | |||
@@ -21,7 +21,6 @@ | |||
21 | * IRQ's are in fact implemented a bit like signal handlers for the kernel. | 21 | * IRQ's are in fact implemented a bit like signal handlers for the kernel. |
22 | * Naturally it's not a 1:1 relation, but there are similarities. | 22 | * Naturally it's not a 1:1 relation, but there are similarities. |
23 | */ | 23 | */ |
24 | #include <linux/config.h> | ||
25 | #include <linux/kernel_stat.h> | 24 | #include <linux/kernel_stat.h> |
26 | #include <linux/module.h> | 25 | #include <linux/module.h> |
27 | #include <linux/signal.h> | 26 | #include <linux/signal.h> |
diff --git a/arch/arm/kernel/module.c b/arch/arm/kernel/module.c index 055bf5d28894..298363d97047 100644 --- a/arch/arm/kernel/module.c +++ b/arch/arm/kernel/module.c | |||
@@ -9,7 +9,6 @@ | |||
9 | * | 9 | * |
10 | * Module allocation method suggested by Andi Kleen. | 10 | * Module allocation method suggested by Andi Kleen. |
11 | */ | 11 | */ |
12 | #include <linux/config.h> | ||
13 | #include <linux/module.h> | 12 | #include <linux/module.h> |
14 | #include <linux/moduleloader.h> | 13 | #include <linux/moduleloader.h> |
15 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c index b5773a2549ee..3079535afccd 100644 --- a/arch/arm/kernel/process.c +++ b/arch/arm/kernel/process.c | |||
@@ -10,7 +10,6 @@ | |||
10 | */ | 10 | */ |
11 | #include <stdarg.h> | 11 | #include <stdarg.h> |
12 | 12 | ||
13 | #include <linux/config.h> | ||
14 | #include <linux/module.h> | 13 | #include <linux/module.h> |
15 | #include <linux/sched.h> | 14 | #include <linux/sched.h> |
16 | #include <linux/kernel.h> | 15 | #include <linux/kernel.h> |
diff --git a/arch/arm/kernel/ptrace.c b/arch/arm/kernel/ptrace.c index c40bdc770054..9254ba2f46fc 100644 --- a/arch/arm/kernel/ptrace.c +++ b/arch/arm/kernel/ptrace.c | |||
@@ -9,7 +9,6 @@ | |||
9 | * it under the terms of the GNU General Public License version 2 as | 9 | * it under the terms of the GNU General Public License version 2 as |
10 | * published by the Free Software Foundation. | 10 | * published by the Free Software Foundation. |
11 | */ | 11 | */ |
12 | #include <linux/config.h> | ||
13 | #include <linux/kernel.h> | 12 | #include <linux/kernel.h> |
14 | #include <linux/sched.h> | 13 | #include <linux/sched.h> |
15 | #include <linux/mm.h> | 14 | #include <linux/mm.h> |
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c index 7d02f96eeb9d..7d6a516c0b9f 100644 --- a/arch/arm/kernel/setup.c +++ b/arch/arm/kernel/setup.c | |||
@@ -7,7 +7,6 @@ | |||
7 | * it under the terms of the GNU General Public License version 2 as | 7 | * it under the terms of the GNU General Public License version 2 as |
8 | * published by the Free Software Foundation. | 8 | * published by the Free Software Foundation. |
9 | */ | 9 | */ |
10 | #include <linux/config.h> | ||
11 | #include <linux/module.h> | 10 | #include <linux/module.h> |
12 | #include <linux/kernel.h> | 11 | #include <linux/kernel.h> |
13 | #include <linux/stddef.h> | 12 | #include <linux/stddef.h> |
@@ -119,9 +118,24 @@ DEFINE_PER_CPU(struct cpuinfo_arm, cpu_data); | |||
119 | * Standard memory resources | 118 | * Standard memory resources |
120 | */ | 119 | */ |
121 | static struct resource mem_res[] = { | 120 | static struct resource mem_res[] = { |
122 | { "Video RAM", 0, 0, IORESOURCE_MEM }, | 121 | { |
123 | { "Kernel text", 0, 0, IORESOURCE_MEM }, | 122 | .name = "Video RAM", |
124 | { "Kernel data", 0, 0, IORESOURCE_MEM } | 123 | .start = 0, |
124 | .end = 0, | ||
125 | .flags = IORESOURCE_MEM | ||
126 | }, | ||
127 | { | ||
128 | .name = "Kernel text", | ||
129 | .start = 0, | ||
130 | .end = 0, | ||
131 | .flags = IORESOURCE_MEM | ||
132 | }, | ||
133 | { | ||
134 | .name = "Kernel data", | ||
135 | .start = 0, | ||
136 | .end = 0, | ||
137 | .flags = IORESOURCE_MEM | ||
138 | } | ||
125 | }; | 139 | }; |
126 | 140 | ||
127 | #define video_ram mem_res[0] | 141 | #define video_ram mem_res[0] |
@@ -129,9 +143,24 @@ static struct resource mem_res[] = { | |||
129 | #define kernel_data mem_res[2] | 143 | #define kernel_data mem_res[2] |
130 | 144 | ||
131 | static struct resource io_res[] = { | 145 | static struct resource io_res[] = { |
132 | { "reserved", 0x3bc, 0x3be, IORESOURCE_IO | IORESOURCE_BUSY }, | 146 | { |
133 | { "reserved", 0x378, 0x37f, IORESOURCE_IO | IORESOURCE_BUSY }, | 147 | .name = "reserved", |
134 | { "reserved", 0x278, 0x27f, IORESOURCE_IO | IORESOURCE_BUSY } | 148 | .start = 0x3bc, |
149 | .end = 0x3be, | ||
150 | .flags = IORESOURCE_IO | IORESOURCE_BUSY | ||
151 | }, | ||
152 | { | ||
153 | .name = "reserved", | ||
154 | .start = 0x378, | ||
155 | .end = 0x37f, | ||
156 | .flags = IORESOURCE_IO | IORESOURCE_BUSY | ||
157 | }, | ||
158 | { | ||
159 | .name = "reserved", | ||
160 | .start = 0x278, | ||
161 | .end = 0x27f, | ||
162 | .flags = IORESOURCE_IO | IORESOURCE_BUSY | ||
163 | } | ||
135 | }; | 164 | }; |
136 | 165 | ||
137 | #define lp0 io_res[0] | 166 | #define lp0 io_res[0] |
diff --git a/arch/arm/kernel/signal.c b/arch/arm/kernel/signal.c index 83a8d3c95eb3..48cf7fffddf2 100644 --- a/arch/arm/kernel/signal.c +++ b/arch/arm/kernel/signal.c | |||
@@ -7,7 +7,6 @@ | |||
7 | * it under the terms of the GNU General Public License version 2 as | 7 | * it under the terms of the GNU General Public License version 2 as |
8 | * published by the Free Software Foundation. | 8 | * published by the Free Software Foundation. |
9 | */ | 9 | */ |
10 | #include <linux/config.h> | ||
11 | #include <linux/errno.h> | 10 | #include <linux/errno.h> |
12 | #include <linux/signal.h> | 11 | #include <linux/signal.h> |
13 | #include <linux/ptrace.h> | 12 | #include <linux/ptrace.h> |
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c index 1370d726dc10..68e9634d260a 100644 --- a/arch/arm/kernel/smp.c +++ b/arch/arm/kernel/smp.c | |||
@@ -7,7 +7,6 @@ | |||
7 | * it under the terms of the GNU General Public License version 2 as | 7 | * it under the terms of the GNU General Public License version 2 as |
8 | * published by the Free Software Foundation. | 8 | * published by the Free Software Foundation. |
9 | */ | 9 | */ |
10 | #include <linux/config.h> | ||
11 | #include <linux/delay.h> | 10 | #include <linux/delay.h> |
12 | #include <linux/init.h> | 11 | #include <linux/init.h> |
13 | #include <linux/spinlock.h> | 12 | #include <linux/spinlock.h> |
diff --git a/arch/arm/kernel/time.c b/arch/arm/kernel/time.c index 9c12d4fefbd3..09a67d771857 100644 --- a/arch/arm/kernel/time.c +++ b/arch/arm/kernel/time.c | |||
@@ -16,7 +16,6 @@ | |||
16 | * 1998-12-20 Updated NTP code according to technical memorandum Jan '96 | 16 | * 1998-12-20 Updated NTP code according to technical memorandum Jan '96 |
17 | * "A Kernel Model for Precision Timekeeping" by Dave Mills | 17 | * "A Kernel Model for Precision Timekeeping" by Dave Mills |
18 | */ | 18 | */ |
19 | #include <linux/config.h> | ||
20 | #include <linux/module.h> | 19 | #include <linux/module.h> |
21 | #include <linux/kernel.h> | 20 | #include <linux/kernel.h> |
22 | #include <linux/interrupt.h> | 21 | #include <linux/interrupt.h> |
diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c index 35230a060108..35a052fc177a 100644 --- a/arch/arm/kernel/traps.c +++ b/arch/arm/kernel/traps.c | |||
@@ -12,7 +12,6 @@ | |||
12 | * 'linux/arch/arm/lib/traps.S'. Mostly a debugging aid, but will probably | 12 | * 'linux/arch/arm/lib/traps.S'. Mostly a debugging aid, but will probably |
13 | * kill the offending process. | 13 | * kill the offending process. |
14 | */ | 14 | */ |
15 | #include <linux/config.h> | ||
16 | #include <linux/module.h> | 15 | #include <linux/module.h> |
17 | #include <linux/signal.h> | 16 | #include <linux/signal.h> |
18 | #include <linux/spinlock.h> | 17 | #include <linux/spinlock.h> |
diff --git a/arch/arm/kernel/vmlinux.lds.S b/arch/arm/kernel/vmlinux.lds.S index 2df9688a7028..3ca574ee2772 100644 --- a/arch/arm/kernel/vmlinux.lds.S +++ b/arch/arm/kernel/vmlinux.lds.S | |||
@@ -4,7 +4,6 @@ | |||
4 | */ | 4 | */ |
5 | 5 | ||
6 | #include <asm-generic/vmlinux.lds.h> | 6 | #include <asm-generic/vmlinux.lds.h> |
7 | #include <linux/config.h> | ||
8 | #include <asm/thread_info.h> | 7 | #include <asm/thread_info.h> |
9 | #include <asm/memory.h> | 8 | #include <asm/memory.h> |
10 | 9 | ||