diff options
Diffstat (limited to 'arch/cris/arch-v32')
27 files changed, 6 insertions, 33 deletions
diff --git a/arch/cris/arch-v32/boot/compressed/head.S b/arch/cris/arch-v32/boot/compressed/head.S index 0c55b83b8287..34cea10a8998 100644 --- a/arch/cris/arch-v32/boot/compressed/head.S +++ b/arch/cris/arch-v32/boot/compressed/head.S | |||
@@ -5,7 +5,6 @@ | |||
5 | * Copyright (C) 1999 - 2003, Axis Communications AB | 5 | * Copyright (C) 1999 - 2003, Axis Communications AB |
6 | */ | 6 | */ |
7 | 7 | ||
8 | #include <linux/config.h> | ||
9 | #define ASSEMBLER_MACROS_ONLY | 8 | #define ASSEMBLER_MACROS_ONLY |
10 | #include <asm/arch/hwregs/asm/reg_map_asm.h> | 9 | #include <asm/arch/hwregs/asm/reg_map_asm.h> |
11 | #include <asm/arch/hwregs/asm/gio_defs_asm.h> | 10 | #include <asm/arch/hwregs/asm/gio_defs_asm.h> |
diff --git a/arch/cris/arch-v32/boot/compressed/misc.c b/arch/cris/arch-v32/boot/compressed/misc.c index 54644238ed59..11902697196d 100644 --- a/arch/cris/arch-v32/boot/compressed/misc.c +++ b/arch/cris/arch-v32/boot/compressed/misc.c | |||
@@ -20,7 +20,6 @@ | |||
20 | 20 | ||
21 | #define KERNEL_LOAD_ADR 0x40004000 | 21 | #define KERNEL_LOAD_ADR 0x40004000 |
22 | 22 | ||
23 | #include <linux/config.h> | ||
24 | 23 | ||
25 | #include <linux/types.h> | 24 | #include <linux/types.h> |
26 | #include <asm/arch/hwregs/reg_rdwr.h> | 25 | #include <asm/arch/hwregs/reg_rdwr.h> |
diff --git a/arch/cris/arch-v32/boot/rescue/head.S b/arch/cris/arch-v32/boot/rescue/head.S index 61ede5f30f99..8cdb4011bc16 100644 --- a/arch/cris/arch-v32/boot/rescue/head.S +++ b/arch/cris/arch-v32/boot/rescue/head.S | |||
@@ -4,7 +4,6 @@ | |||
4 | * RedBoot based RFL instead. Nothing to see here, move along. | 4 | * RedBoot based RFL instead. Nothing to see here, move along. |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #include <linux/config.h> | ||
8 | #include <asm/arch/hwregs/reg_map_asm.h> | 7 | #include <asm/arch/hwregs/reg_map_asm.h> |
9 | #include <asm/arch/hwregs/config_defs_asm.h> | 8 | #include <asm/arch/hwregs/config_defs_asm.h> |
10 | 9 | ||
diff --git a/arch/cris/arch-v32/drivers/axisflashmap.c b/arch/cris/arch-v32/drivers/axisflashmap.c index b679f983b90a..41952320e00a 100644 --- a/arch/cris/arch-v32/drivers/axisflashmap.c +++ b/arch/cris/arch-v32/drivers/axisflashmap.c | |||
@@ -18,7 +18,6 @@ | |||
18 | #include <linux/module.h> | 18 | #include <linux/module.h> |
19 | #include <linux/types.h> | 19 | #include <linux/types.h> |
20 | #include <linux/kernel.h> | 20 | #include <linux/kernel.h> |
21 | #include <linux/config.h> | ||
22 | #include <linux/init.h> | 21 | #include <linux/init.h> |
23 | #include <linux/slab.h> | 22 | #include <linux/slab.h> |
24 | 23 | ||
diff --git a/arch/cris/arch-v32/drivers/gpio.c b/arch/cris/arch-v32/drivers/gpio.c index a551237dcb5e..113bdff4fd3c 100644 --- a/arch/cris/arch-v32/drivers/gpio.c +++ b/arch/cris/arch-v32/drivers/gpio.c | |||
@@ -62,7 +62,6 @@ | |||
62 | * | 62 | * |
63 | */ | 63 | */ |
64 | 64 | ||
65 | #include <linux/config.h> | ||
66 | 65 | ||
67 | #include <linux/module.h> | 66 | #include <linux/module.h> |
68 | #include <linux/sched.h> | 67 | #include <linux/sched.h> |
diff --git a/arch/cris/arch-v32/drivers/i2c.c b/arch/cris/arch-v32/drivers/i2c.c index 440c20a94963..95f00188c628 100644 --- a/arch/cris/arch-v32/drivers/i2c.c +++ b/arch/cris/arch-v32/drivers/i2c.c | |||
@@ -33,7 +33,6 @@ | |||
33 | #include <linux/fs.h> | 33 | #include <linux/fs.h> |
34 | #include <linux/string.h> | 34 | #include <linux/string.h> |
35 | #include <linux/init.h> | 35 | #include <linux/init.h> |
36 | #include <linux/config.h> | ||
37 | 36 | ||
38 | #include <asm/etraxi2c.h> | 37 | #include <asm/etraxi2c.h> |
39 | 38 | ||
diff --git a/arch/cris/arch-v32/drivers/pcf8563.c b/arch/cris/arch-v32/drivers/pcf8563.c index d788bda3578c..ffc6d2572f2b 100644 --- a/arch/cris/arch-v32/drivers/pcf8563.c +++ b/arch/cris/arch-v32/drivers/pcf8563.c | |||
@@ -17,7 +17,6 @@ | |||
17 | * | 17 | * |
18 | */ | 18 | */ |
19 | 19 | ||
20 | #include <linux/config.h> | ||
21 | #include <linux/module.h> | 20 | #include <linux/module.h> |
22 | #include <linux/kernel.h> | 21 | #include <linux/kernel.h> |
23 | #include <linux/types.h> | 22 | #include <linux/types.h> |
diff --git a/arch/cris/arch-v32/drivers/sync_serial.c b/arch/cris/arch-v32/drivers/sync_serial.c index c85a6df8558f..7c29957f5f02 100644 --- a/arch/cris/arch-v32/drivers/sync_serial.c +++ b/arch/cris/arch-v32/drivers/sync_serial.c | |||
@@ -9,7 +9,6 @@ | |||
9 | 9 | ||
10 | #include <linux/module.h> | 10 | #include <linux/module.h> |
11 | #include <linux/kernel.h> | 11 | #include <linux/kernel.h> |
12 | #include <linux/config.h> | ||
13 | #include <linux/types.h> | 12 | #include <linux/types.h> |
14 | #include <linux/errno.h> | 13 | #include <linux/errno.h> |
15 | #include <linux/major.h> | 14 | #include <linux/major.h> |
diff --git a/arch/cris/arch-v32/kernel/arbiter.c b/arch/cris/arch-v32/kernel/arbiter.c index 3870d2fd5160..82d44c9afc1e 100644 --- a/arch/cris/arch-v32/kernel/arbiter.c +++ b/arch/cris/arch-v32/kernel/arbiter.c | |||
@@ -1,15 +1,14 @@ | |||
1 | /* | 1 | /* |
2 | * Memory arbiter functions. Allocates bandwith through the | 2 | * Memory arbiter functions. Allocates bandwidth through the |
3 | * arbiter and sets up arbiter breakpoints. | 3 | * arbiter and sets up arbiter breakpoints. |
4 | * | 4 | * |
5 | * The algorithm first assigns slots to the clients that has specified | 5 | * The algorithm first assigns slots to the clients that has specified |
6 | * bandwith (e.g. ethernet) and then the remaining slots are divided | 6 | * bandwidth (e.g. ethernet) and then the remaining slots are divided |
7 | * on all the active clients. | 7 | * on all the active clients. |
8 | * | 8 | * |
9 | * Copyright (c) 2004, 2005 Axis Communications AB. | 9 | * Copyright (c) 2004, 2005 Axis Communications AB. |
10 | */ | 10 | */ |
11 | 11 | ||
12 | #include <linux/config.h> | ||
13 | #include <asm/arch/hwregs/reg_map.h> | 12 | #include <asm/arch/hwregs/reg_map.h> |
14 | #include <asm/arch/hwregs/reg_rdwr.h> | 13 | #include <asm/arch/hwregs/reg_rdwr.h> |
15 | #include <asm/arch/hwregs/marb_defs.h> | 14 | #include <asm/arch/hwregs/marb_defs.h> |
@@ -133,8 +132,8 @@ static void crisv32_arbiter_init(void) | |||
133 | 132 | ||
134 | 133 | ||
135 | 134 | ||
136 | int crisv32_arbiter_allocate_bandwith(int client, int region, | 135 | int crisv32_arbiter_allocate_bandwidth(int client, int region, |
137 | unsigned long bandwidth) | 136 | unsigned long bandwidth) |
138 | { | 137 | { |
139 | int i; | 138 | int i; |
140 | int total_assigned = 0; | 139 | int total_assigned = 0; |
diff --git a/arch/cris/arch-v32/kernel/crisksyms.c b/arch/cris/arch-v32/kernel/crisksyms.c index 2c3bb9a0afe2..e513da711245 100644 --- a/arch/cris/arch-v32/kernel/crisksyms.c +++ b/arch/cris/arch-v32/kernel/crisksyms.c | |||
@@ -1,4 +1,3 @@ | |||
1 | #include <linux/config.h> | ||
2 | #include <linux/module.h> | 1 | #include <linux/module.h> |
3 | #include <linux/irq.h> | 2 | #include <linux/irq.h> |
4 | #include <asm/arch/dma.h> | 3 | #include <asm/arch/dma.h> |
diff --git a/arch/cris/arch-v32/kernel/debugport.c b/arch/cris/arch-v32/kernel/debugport.c index 3dc587e6201a..d1272ad92153 100644 --- a/arch/cris/arch-v32/kernel/debugport.c +++ b/arch/cris/arch-v32/kernel/debugport.c | |||
@@ -2,7 +2,6 @@ | |||
2 | * Copyright (C) 2003, Axis Communications AB. | 2 | * Copyright (C) 2003, Axis Communications AB. |
3 | */ | 3 | */ |
4 | 4 | ||
5 | #include <linux/config.h> | ||
6 | #include <linux/console.h> | 5 | #include <linux/console.h> |
7 | #include <linux/init.h> | 6 | #include <linux/init.h> |
8 | #include <linux/major.h> | 7 | #include <linux/major.h> |
diff --git a/arch/cris/arch-v32/kernel/dma.c b/arch/cris/arch-v32/kernel/dma.c index b92e85799b44..570e19128ffd 100644 --- a/arch/cris/arch-v32/kernel/dma.c +++ b/arch/cris/arch-v32/kernel/dma.c | |||
@@ -25,8 +25,8 @@ int crisv32_request_dma(unsigned int dmanr, const char * device_id, | |||
25 | reg_config_rw_clk_ctrl clk_ctrl; | 25 | reg_config_rw_clk_ctrl clk_ctrl; |
26 | reg_strmux_rw_cfg strmux_cfg; | 26 | reg_strmux_rw_cfg strmux_cfg; |
27 | 27 | ||
28 | if (crisv32_arbiter_allocate_bandwith(dmanr, | 28 | if (crisv32_arbiter_allocate_bandwidth(dmanr, |
29 | options & DMA_INT_MEM ? INT_REGION : EXT_REGION, | 29 | options & DMA_INT_MEM ? INT_REGION : EXT_REGION, |
30 | bandwidth)) | 30 | bandwidth)) |
31 | return -ENOMEM; | 31 | return -ENOMEM; |
32 | 32 | ||
diff --git a/arch/cris/arch-v32/kernel/entry.S b/arch/cris/arch-v32/kernel/entry.S index 3bd8503fec68..f9d27807b914 100644 --- a/arch/cris/arch-v32/kernel/entry.S +++ b/arch/cris/arch-v32/kernel/entry.S | |||
@@ -17,7 +17,6 @@ | |||
17 | * | 17 | * |
18 | */ | 18 | */ |
19 | 19 | ||
20 | #include <linux/config.h> | ||
21 | #include <linux/linkage.h> | 20 | #include <linux/linkage.h> |
22 | #include <linux/sys.h> | 21 | #include <linux/sys.h> |
23 | #include <asm/unistd.h> | 22 | #include <asm/unistd.h> |
diff --git a/arch/cris/arch-v32/kernel/fasttimer.c b/arch/cris/arch-v32/kernel/fasttimer.c index ea2b4a97c8c7..caaa86bd5e87 100644 --- a/arch/cris/arch-v32/kernel/fasttimer.c +++ b/arch/cris/arch-v32/kernel/fasttimer.c | |||
@@ -120,7 +120,6 @@ | |||
120 | #include <asm/irq.h> | 120 | #include <asm/irq.h> |
121 | #include <asm/system.h> | 121 | #include <asm/system.h> |
122 | 122 | ||
123 | #include <linux/config.h> | ||
124 | #include <linux/version.h> | 123 | #include <linux/version.h> |
125 | 124 | ||
126 | #include <asm/arch/hwregs/reg_map.h> | 125 | #include <asm/arch/hwregs/reg_map.h> |
diff --git a/arch/cris/arch-v32/kernel/head.S b/arch/cris/arch-v32/kernel/head.S index 3cfe57dc391d..20bd80a84e48 100644 --- a/arch/cris/arch-v32/kernel/head.S +++ b/arch/cris/arch-v32/kernel/head.S | |||
@@ -4,7 +4,6 @@ | |||
4 | * Copyright (C) 2003, Axis Communications AB | 4 | * Copyright (C) 2003, Axis Communications AB |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #include <linux/config.h> | ||
8 | 7 | ||
9 | #define ASSEMBLER_MACROS_ONLY | 8 | #define ASSEMBLER_MACROS_ONLY |
10 | 9 | ||
diff --git a/arch/cris/arch-v32/kernel/io.c b/arch/cris/arch-v32/kernel/io.c index 6bc9f263c3d6..dfbfcb8d2585 100644 --- a/arch/cris/arch-v32/kernel/io.c +++ b/arch/cris/arch-v32/kernel/io.c | |||
@@ -4,7 +4,6 @@ | |||
4 | * Copyright (c) 2004 Axis Communications AB. | 4 | * Copyright (c) 2004 Axis Communications AB. |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #include <linux/config.h> | ||
8 | #include <linux/types.h> | 7 | #include <linux/types.h> |
9 | #include <linux/errno.h> | 8 | #include <linux/errno.h> |
10 | #include <linux/init.h> | 9 | #include <linux/init.h> |
diff --git a/arch/cris/arch-v32/kernel/irq.c b/arch/cris/arch-v32/kernel/irq.c index 06260874f018..e2d2b3fdb5b1 100644 --- a/arch/cris/arch-v32/kernel/irq.c +++ b/arch/cris/arch-v32/kernel/irq.c | |||
@@ -6,7 +6,6 @@ | |||
6 | #include <linux/irq.h> | 6 | #include <linux/irq.h> |
7 | #include <linux/interrupt.h> | 7 | #include <linux/interrupt.h> |
8 | #include <linux/smp.h> | 8 | #include <linux/smp.h> |
9 | #include <linux/config.h> | ||
10 | #include <linux/kernel.h> | 9 | #include <linux/kernel.h> |
11 | #include <linux/errno.h> | 10 | #include <linux/errno.h> |
12 | #include <linux/init.h> | 11 | #include <linux/init.h> |
diff --git a/arch/cris/arch-v32/kernel/kgdb_asm.S b/arch/cris/arch-v32/kernel/kgdb_asm.S index b350dd279ed2..3e7fa9ef8510 100644 --- a/arch/cris/arch-v32/kernel/kgdb_asm.S +++ b/arch/cris/arch-v32/kernel/kgdb_asm.S | |||
@@ -5,7 +5,6 @@ | |||
5 | * port exceptions for kernel debugging purposes. | 5 | * port exceptions for kernel debugging purposes. |
6 | */ | 6 | */ |
7 | 7 | ||
8 | #include <linux/config.h> | ||
9 | #include <asm/arch/hwregs/intr_vect.h> | 8 | #include <asm/arch/hwregs/intr_vect.h> |
10 | 9 | ||
11 | ;; Exported functions. | 10 | ;; Exported functions. |
diff --git a/arch/cris/arch-v32/kernel/process.c b/arch/cris/arch-v32/kernel/process.c index 843513102d3c..6326351af252 100644 --- a/arch/cris/arch-v32/kernel/process.c +++ b/arch/cris/arch-v32/kernel/process.c | |||
@@ -8,7 +8,6 @@ | |||
8 | * This file handles the architecture-dependent parts of process handling.. | 8 | * This file handles the architecture-dependent parts of process handling.. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include <linux/config.h> | ||
12 | #include <linux/sched.h> | 11 | #include <linux/sched.h> |
13 | #include <linux/err.h> | 12 | #include <linux/err.h> |
14 | #include <linux/fs.h> | 13 | #include <linux/fs.h> |
diff --git a/arch/cris/arch-v32/kernel/setup.c b/arch/cris/arch-v32/kernel/setup.c index b17a39a2e164..4662f363df63 100644 --- a/arch/cris/arch-v32/kernel/setup.c +++ b/arch/cris/arch-v32/kernel/setup.c | |||
@@ -4,7 +4,6 @@ | |||
4 | * Copyright (C) 2003, Axis Communications AB. | 4 | * Copyright (C) 2003, Axis Communications AB. |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #include <linux/config.h> | ||
8 | #include <linux/seq_file.h> | 7 | #include <linux/seq_file.h> |
9 | #include <linux/proc_fs.h> | 8 | #include <linux/proc_fs.h> |
10 | #include <linux/delay.h> | 9 | #include <linux/delay.h> |
diff --git a/arch/cris/arch-v32/kernel/time.c b/arch/cris/arch-v32/kernel/time.c index d48e397f5fa4..4bac1d6c37fb 100644 --- a/arch/cris/arch-v32/kernel/time.c +++ b/arch/cris/arch-v32/kernel/time.c | |||
@@ -6,7 +6,6 @@ | |||
6 | * | 6 | * |
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include <linux/config.h> | ||
10 | #include <linux/timex.h> | 9 | #include <linux/timex.h> |
11 | #include <linux/time.h> | 10 | #include <linux/time.h> |
12 | #include <linux/jiffies.h> | 11 | #include <linux/jiffies.h> |
diff --git a/arch/cris/arch-v32/kernel/traps.c b/arch/cris/arch-v32/kernel/traps.c index 6e3787045560..2462b1ef1fbb 100644 --- a/arch/cris/arch-v32/kernel/traps.c +++ b/arch/cris/arch-v32/kernel/traps.c | |||
@@ -2,7 +2,6 @@ | |||
2 | * Copyright (C) 2003, Axis Communications AB. | 2 | * Copyright (C) 2003, Axis Communications AB. |
3 | */ | 3 | */ |
4 | 4 | ||
5 | #include <linux/config.h> | ||
6 | #include <linux/ptrace.h> | 5 | #include <linux/ptrace.h> |
7 | #include <asm/uaccess.h> | 6 | #include <asm/uaccess.h> |
8 | 7 | ||
diff --git a/arch/cris/arch-v32/lib/dram_init.S b/arch/cris/arch-v32/lib/dram_init.S index 47b6cf5f4afd..158b3dbb4d9d 100644 --- a/arch/cris/arch-v32/lib/dram_init.S +++ b/arch/cris/arch-v32/lib/dram_init.S | |||
@@ -16,7 +16,6 @@ | |||
16 | * uses this code. | 16 | * uses this code. |
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include <linux/config.h> | ||
20 | #include <asm/arch/hwregs/asm/reg_map_asm.h> | 19 | #include <asm/arch/hwregs/asm/reg_map_asm.h> |
21 | #include <asm/arch/hwregs/asm/bif_core_defs_asm.h> | 20 | #include <asm/arch/hwregs/asm/bif_core_defs_asm.h> |
22 | 21 | ||
diff --git a/arch/cris/arch-v32/lib/hw_settings.S b/arch/cris/arch-v32/lib/hw_settings.S index 5182e8c2cff2..fff9443513d1 100644 --- a/arch/cris/arch-v32/lib/hw_settings.S +++ b/arch/cris/arch-v32/lib/hw_settings.S | |||
@@ -10,7 +10,6 @@ | |||
10 | * Authors: Mikael Starvik (starvik@axis.com) | 10 | * Authors: Mikael Starvik (starvik@axis.com) |
11 | */ | 11 | */ |
12 | 12 | ||
13 | #include <linux/config.h> | ||
14 | #include <asm/arch/hwregs/asm/reg_map_asm.h> | 13 | #include <asm/arch/hwregs/asm/reg_map_asm.h> |
15 | #include <asm/arch/hwregs/asm/bif_core_defs_asm.h> | 14 | #include <asm/arch/hwregs/asm/bif_core_defs_asm.h> |
16 | #include <asm/arch/hwregs/asm/gio_defs_asm.h> | 15 | #include <asm/arch/hwregs/asm/gio_defs_asm.h> |
diff --git a/arch/cris/arch-v32/lib/nand_init.S b/arch/cris/arch-v32/lib/nand_init.S index aba5c751c282..e019816facd7 100644 --- a/arch/cris/arch-v32/lib/nand_init.S +++ b/arch/cris/arch-v32/lib/nand_init.S | |||
@@ -27,7 +27,6 @@ | |||
27 | #include <asm/arch/hwregs/asm/pinmux_defs_asm.h> | 27 | #include <asm/arch/hwregs/asm/pinmux_defs_asm.h> |
28 | #include <asm/arch/hwregs/asm/bif_core_defs_asm.h> | 28 | #include <asm/arch/hwregs/asm/bif_core_defs_asm.h> |
29 | #include <asm/arch/hwregs/asm/config_defs_asm.h> | 29 | #include <asm/arch/hwregs/asm/config_defs_asm.h> |
30 | #include <linux/config.h> | ||
31 | 30 | ||
32 | ;; There are 8-bit NAND flashes and 16-bit NAND flashes. | 31 | ;; There are 8-bit NAND flashes and 16-bit NAND flashes. |
33 | ;; We need to treat them slightly different. | 32 | ;; We need to treat them slightly different. |
diff --git a/arch/cris/arch-v32/mm/init.c b/arch/cris/arch-v32/mm/init.c index f2fba27d822c..a84ba7ff22d2 100644 --- a/arch/cris/arch-v32/mm/init.c +++ b/arch/cris/arch-v32/mm/init.c | |||
@@ -6,12 +6,10 @@ | |||
6 | * Authors: Bjorn Wesen <bjornw@axis.com> | 6 | * Authors: Bjorn Wesen <bjornw@axis.com> |
7 | * Tobias Anderberg <tobiasa@axis.com>, CRISv32 port. | 7 | * Tobias Anderberg <tobiasa@axis.com>, CRISv32 port. |
8 | */ | 8 | */ |
9 | #include <linux/config.h> | ||
10 | #include <linux/mmzone.h> | 9 | #include <linux/mmzone.h> |
11 | #include <linux/init.h> | 10 | #include <linux/init.h> |
12 | #include <linux/bootmem.h> | 11 | #include <linux/bootmem.h> |
13 | #include <linux/mm.h> | 12 | #include <linux/mm.h> |
14 | #include <linux/config.h> | ||
15 | #include <asm/pgtable.h> | 13 | #include <asm/pgtable.h> |
16 | #include <asm/page.h> | 14 | #include <asm/page.h> |
17 | #include <asm/types.h> | 15 | #include <asm/types.h> |
diff --git a/arch/cris/arch-v32/vmlinux.lds.S b/arch/cris/arch-v32/vmlinux.lds.S index adb94605d92a..472d4b3c4cf4 100644 --- a/arch/cris/arch-v32/vmlinux.lds.S +++ b/arch/cris/arch-v32/vmlinux.lds.S | |||
@@ -8,7 +8,6 @@ | |||
8 | * the kernel has booted. | 8 | * the kernel has booted. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include <linux/config.h> | ||
12 | #include <asm-generic/vmlinux.lds.h> | 11 | #include <asm-generic/vmlinux.lds.h> |
13 | 12 | ||
14 | jiffies = jiffies_64; | 13 | jiffies = jiffies_64; |