diff options
author | Jesper Nilsson <jesper.nilsson@axis.com> | 2008-10-21 11:45:58 -0400 |
---|---|---|
committer | Jesper Nilsson <jesper.nilsson@axis.com> | 2008-10-29 12:29:44 -0400 |
commit | 556dcee7b829e5c350c3ffdbdb87a8b15aa3c5d3 (patch) | |
tree | 26485b0d92eedcba6c0c96d4069469041aaf7106 /arch/cris/arch-v10 | |
parent | 242bfafc8e42da4697c1e2dea108049d14dbac4b (diff) |
[CRIS] Move header files from include to arch/cris/include.
Change all users of header files to correct path.
Remove some unneeded headers for arch-v32.
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Diffstat (limited to 'arch/cris/arch-v10')
25 files changed, 31 insertions, 29 deletions
diff --git a/arch/cris/arch-v10/boot/.gitignore b/arch/cris/arch-v10/boot/.gitignore new file mode 100644 index 000000000000..171a0853caf8 --- /dev/null +++ b/arch/cris/arch-v10/boot/.gitignore | |||
@@ -0,0 +1,2 @@ | |||
1 | Image | ||
2 | zImage | ||
diff --git a/arch/cris/arch-v10/boot/compressed/head.S b/arch/cris/arch-v10/boot/compressed/head.S index 981fbae84959..0bb4dcc29254 100644 --- a/arch/cris/arch-v10/boot/compressed/head.S +++ b/arch/cris/arch-v10/boot/compressed/head.S | |||
@@ -9,7 +9,7 @@ | |||
9 | */ | 9 | */ |
10 | 10 | ||
11 | #define ASSEMBLER_MACROS_ONLY | 11 | #define ASSEMBLER_MACROS_ONLY |
12 | #include <asm/arch/sv_addr_ag.h> | 12 | #include <arch/sv_addr_ag.h> |
13 | 13 | ||
14 | #define RAM_INIT_MAGIC 0x56902387 | 14 | #define RAM_INIT_MAGIC 0x56902387 |
15 | #define COMMAND_LINE_MAGIC 0x87109563 | 15 | #define COMMAND_LINE_MAGIC 0x87109563 |
diff --git a/arch/cris/arch-v10/boot/compressed/misc.c b/arch/cris/arch-v10/boot/compressed/misc.c index d933c89889db..a4db1507d3b1 100644 --- a/arch/cris/arch-v10/boot/compressed/misc.c +++ b/arch/cris/arch-v10/boot/compressed/misc.c | |||
@@ -20,7 +20,7 @@ | |||
20 | 20 | ||
21 | 21 | ||
22 | #include <linux/types.h> | 22 | #include <linux/types.h> |
23 | #include <asm/arch/svinto.h> | 23 | #include <arch/svinto.h> |
24 | 24 | ||
25 | /* | 25 | /* |
26 | * gzip declarations | 26 | * gzip declarations |
diff --git a/arch/cris/arch-v10/boot/rescue/head.S b/arch/cris/arch-v10/boot/rescue/head.S index 6ba7be8ac4a0..fb503d1eeea4 100644 --- a/arch/cris/arch-v10/boot/rescue/head.S +++ b/arch/cris/arch-v10/boot/rescue/head.S | |||
@@ -65,7 +65,7 @@ | |||
65 | #ifdef CONFIG_ETRAX_AXISFLASHMAP | 65 | #ifdef CONFIG_ETRAX_AXISFLASHMAP |
66 | 66 | ||
67 | #define ASSEMBLER_MACROS_ONLY | 67 | #define ASSEMBLER_MACROS_ONLY |
68 | #include <asm/arch/sv_addr_ag.h> | 68 | #include <arch/sv_addr_ag.h> |
69 | 69 | ||
70 | ;; The partitiontable is looked for at the first sector after the boot | 70 | ;; The partitiontable is looked for at the first sector after the boot |
71 | ;; sector. Sector size is 65536 bytes in all flashes we use. | 71 | ;; sector. Sector size is 65536 bytes in all flashes we use. |
diff --git a/arch/cris/arch-v10/boot/rescue/kimagerescue.S b/arch/cris/arch-v10/boot/rescue/kimagerescue.S index 55eeff8bb08e..6f7b3e61260b 100644 --- a/arch/cris/arch-v10/boot/rescue/kimagerescue.S +++ b/arch/cris/arch-v10/boot/rescue/kimagerescue.S | |||
@@ -6,7 +6,7 @@ | |||
6 | */ | 6 | */ |
7 | 7 | ||
8 | #define ASSEMBLER_MACROS_ONLY | 8 | #define ASSEMBLER_MACROS_ONLY |
9 | #include <asm/arch/sv_addr_ag.h> | 9 | #include <arch/sv_addr_ag.h> |
10 | 10 | ||
11 | #define CODE_START 0x40004000 | 11 | #define CODE_START 0x40004000 |
12 | #define CODE_LENGTH 784 | 12 | #define CODE_LENGTH 784 |
diff --git a/arch/cris/arch-v10/boot/rescue/testrescue.S b/arch/cris/arch-v10/boot/rescue/testrescue.S index 2d937f9afe23..fc7ec674eca5 100644 --- a/arch/cris/arch-v10/boot/rescue/testrescue.S +++ b/arch/cris/arch-v10/boot/rescue/testrescue.S | |||
@@ -6,7 +6,7 @@ | |||
6 | */ | 6 | */ |
7 | 7 | ||
8 | #define ASSEMBLER_MACROS_ONLY | 8 | #define ASSEMBLER_MACROS_ONLY |
9 | #include <asm/arch/sv_addr_ag.h> | 9 | #include <arch/sv_addr_ag.h> |
10 | 10 | ||
11 | .text | 11 | .text |
12 | 12 | ||
diff --git a/arch/cris/arch-v10/drivers/axisflashmap.c b/arch/cris/arch-v10/drivers/axisflashmap.c index b3bdda93ffef..b2079703af7e 100644 --- a/arch/cris/arch-v10/drivers/axisflashmap.c +++ b/arch/cris/arch-v10/drivers/axisflashmap.c | |||
@@ -26,7 +26,7 @@ | |||
26 | 26 | ||
27 | #include <asm/axisflashmap.h> | 27 | #include <asm/axisflashmap.h> |
28 | #include <asm/mmu.h> | 28 | #include <asm/mmu.h> |
29 | #include <asm/arch/sv_addr_ag.h> | 29 | #include <arch/sv_addr_ag.h> |
30 | 30 | ||
31 | #ifdef CONFIG_CRIS_LOW_MAP | 31 | #ifdef CONFIG_CRIS_LOW_MAP |
32 | #define FLASH_UNCACHED_ADDR KSEG_8 | 32 | #define FLASH_UNCACHED_ADDR KSEG_8 |
diff --git a/arch/cris/arch-v10/drivers/ds1302.c b/arch/cris/arch-v10/drivers/ds1302.c index 3bdfaf43390c..77630df94343 100644 --- a/arch/cris/arch-v10/drivers/ds1302.c +++ b/arch/cris/arch-v10/drivers/ds1302.c | |||
@@ -24,10 +24,10 @@ | |||
24 | 24 | ||
25 | #include <asm/uaccess.h> | 25 | #include <asm/uaccess.h> |
26 | #include <asm/system.h> | 26 | #include <asm/system.h> |
27 | #include <asm/arch/svinto.h> | 27 | #include <arch/svinto.h> |
28 | #include <asm/io.h> | 28 | #include <asm/io.h> |
29 | #include <asm/rtc.h> | 29 | #include <asm/rtc.h> |
30 | #include <asm/arch/io_interface_mux.h> | 30 | #include <arch/io_interface_mux.h> |
31 | 31 | ||
32 | #include "i2c.h" | 32 | #include "i2c.h" |
33 | 33 | ||
diff --git a/arch/cris/arch-v10/drivers/gpio.c b/arch/cris/arch-v10/drivers/gpio.c index 86048e697eb5..4b0f65fac8e8 100644 --- a/arch/cris/arch-v10/drivers/gpio.c +++ b/arch/cris/arch-v10/drivers/gpio.c | |||
@@ -23,11 +23,11 @@ | |||
23 | #include <linux/interrupt.h> | 23 | #include <linux/interrupt.h> |
24 | 24 | ||
25 | #include <asm/etraxgpio.h> | 25 | #include <asm/etraxgpio.h> |
26 | #include <asm/arch/svinto.h> | 26 | #include <arch/svinto.h> |
27 | #include <asm/io.h> | 27 | #include <asm/io.h> |
28 | #include <asm/system.h> | 28 | #include <asm/system.h> |
29 | #include <asm/irq.h> | 29 | #include <asm/irq.h> |
30 | #include <asm/arch/io_interface_mux.h> | 30 | #include <arch/io_interface_mux.h> |
31 | 31 | ||
32 | #define GPIO_MAJOR 120 /* experimental MAJOR number */ | 32 | #define GPIO_MAJOR 120 /* experimental MAJOR number */ |
33 | 33 | ||
diff --git a/arch/cris/arch-v10/drivers/i2c.c b/arch/cris/arch-v10/drivers/i2c.c index 2797e67ce4f4..7f656ae0b21d 100644 --- a/arch/cris/arch-v10/drivers/i2c.c +++ b/arch/cris/arch-v10/drivers/i2c.c | |||
@@ -25,10 +25,10 @@ | |||
25 | #include <asm/etraxi2c.h> | 25 | #include <asm/etraxi2c.h> |
26 | 26 | ||
27 | #include <asm/system.h> | 27 | #include <asm/system.h> |
28 | #include <asm/arch/svinto.h> | 28 | #include <arch/svinto.h> |
29 | #include <asm/io.h> | 29 | #include <asm/io.h> |
30 | #include <asm/delay.h> | 30 | #include <asm/delay.h> |
31 | #include <asm/arch/io_interface_mux.h> | 31 | #include <arch/io_interface_mux.h> |
32 | 32 | ||
33 | #include "i2c.h" | 33 | #include "i2c.h" |
34 | 34 | ||
diff --git a/arch/cris/arch-v10/drivers/sync_serial.c b/arch/cris/arch-v10/drivers/sync_serial.c index 91fea623c7c9..6cc1a0319a5d 100644 --- a/arch/cris/arch-v10/drivers/sync_serial.c +++ b/arch/cris/arch-v10/drivers/sync_serial.c | |||
@@ -26,11 +26,11 @@ | |||
26 | #include <asm/irq.h> | 26 | #include <asm/irq.h> |
27 | #include <asm/dma.h> | 27 | #include <asm/dma.h> |
28 | #include <asm/io.h> | 28 | #include <asm/io.h> |
29 | #include <asm/arch/svinto.h> | 29 | #include <arch/svinto.h> |
30 | #include <asm/uaccess.h> | 30 | #include <asm/uaccess.h> |
31 | #include <asm/system.h> | 31 | #include <asm/system.h> |
32 | #include <asm/sync_serial.h> | 32 | #include <asm/sync_serial.h> |
33 | #include <asm/arch/io_interface_mux.h> | 33 | #include <arch/io_interface_mux.h> |
34 | 34 | ||
35 | /* The receiver is a bit tricky beacuse of the continuous stream of data.*/ | 35 | /* The receiver is a bit tricky beacuse of the continuous stream of data.*/ |
36 | /* */ | 36 | /* */ |
diff --git a/arch/cris/arch-v10/kernel/crisksyms.c b/arch/cris/arch-v10/kernel/crisksyms.c index e6b80135502f..1ca6fc283232 100644 --- a/arch/cris/arch-v10/kernel/crisksyms.c +++ b/arch/cris/arch-v10/kernel/crisksyms.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include <linux/module.h> | 1 | #include <linux/module.h> |
2 | #include <asm/io.h> | 2 | #include <asm/io.h> |
3 | #include <asm/arch/svinto.h> | 3 | #include <arch/svinto.h> |
4 | 4 | ||
5 | /* Export shadow registers for the CPU I/O pins */ | 5 | /* Export shadow registers for the CPU I/O pins */ |
6 | EXPORT_SYMBOL(genconfig_shadow); | 6 | EXPORT_SYMBOL(genconfig_shadow); |
diff --git a/arch/cris/arch-v10/kernel/debugport.c b/arch/cris/arch-v10/kernel/debugport.c index 3dc6e91ba39e..99851ba8e5fa 100644 --- a/arch/cris/arch-v10/kernel/debugport.c +++ b/arch/cris/arch-v10/kernel/debugport.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #include <linux/delay.h> | 19 | #include <linux/delay.h> |
20 | #include <linux/tty.h> | 20 | #include <linux/tty.h> |
21 | #include <asm/system.h> | 21 | #include <asm/system.h> |
22 | #include <asm/arch/svinto.h> | 22 | #include <arch/svinto.h> |
23 | #include <asm/io.h> /* Get SIMCOUT. */ | 23 | #include <asm/io.h> /* Get SIMCOUT. */ |
24 | 24 | ||
25 | extern void reset_watchdog(void); | 25 | extern void reset_watchdog(void); |
diff --git a/arch/cris/arch-v10/kernel/dma.c b/arch/cris/arch-v10/kernel/dma.c index eb1fa0d2b49f..929e68666299 100644 --- a/arch/cris/arch-v10/kernel/dma.c +++ b/arch/cris/arch-v10/kernel/dma.c | |||
@@ -7,7 +7,7 @@ | |||
7 | #include <linux/errno.h> | 7 | #include <linux/errno.h> |
8 | 8 | ||
9 | #include <asm/dma.h> | 9 | #include <asm/dma.h> |
10 | #include <asm/arch/svinto.h> | 10 | #include <arch/svinto.h> |
11 | 11 | ||
12 | /* Macro to access ETRAX 100 registers */ | 12 | /* Macro to access ETRAX 100 registers */ |
13 | #define SETS(var, reg, field, val) var = (var & ~IO_MASK_(reg##_, field##_)) | \ | 13 | #define SETS(var, reg, field, val) var = (var & ~IO_MASK_(reg##_, field##_)) | \ |
diff --git a/arch/cris/arch-v10/kernel/entry.S b/arch/cris/arch-v10/kernel/entry.S index 3a65f322ae07..ed171d389e65 100644 --- a/arch/cris/arch-v10/kernel/entry.S +++ b/arch/cris/arch-v10/kernel/entry.S | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/linkage.h> | 23 | #include <linux/linkage.h> |
24 | #include <linux/sys.h> | 24 | #include <linux/sys.h> |
25 | #include <asm/unistd.h> | 25 | #include <asm/unistd.h> |
26 | #include <asm/arch/sv_addr_ag.h> | 26 | #include <arch/sv_addr_ag.h> |
27 | #include <asm/errno.h> | 27 | #include <asm/errno.h> |
28 | #include <asm/thread_info.h> | 28 | #include <asm/thread_info.h> |
29 | #include <asm/asm-offsets.h> | 29 | #include <asm/asm-offsets.h> |
diff --git a/arch/cris/arch-v10/kernel/fasttimer.c b/arch/cris/arch-v10/kernel/fasttimer.c index 31ff35cff02c..5ff08a8695e9 100644 --- a/arch/cris/arch-v10/kernel/fasttimer.c +++ b/arch/cris/arch-v10/kernel/fasttimer.c | |||
@@ -24,7 +24,7 @@ | |||
24 | #include <asm/rtc.h> | 24 | #include <asm/rtc.h> |
25 | 25 | ||
26 | 26 | ||
27 | #include <asm/arch/svinto.h> | 27 | #include <arch/svinto.h> |
28 | #include <asm/fasttimer.h> | 28 | #include <asm/fasttimer.h> |
29 | #include <linux/proc_fs.h> | 29 | #include <linux/proc_fs.h> |
30 | 30 | ||
diff --git a/arch/cris/arch-v10/kernel/head.S b/arch/cris/arch-v10/kernel/head.S index 96344afc4ebc..fc4577102933 100644 --- a/arch/cris/arch-v10/kernel/head.S +++ b/arch/cris/arch-v10/kernel/head.S | |||
@@ -10,7 +10,7 @@ | |||
10 | #define ASSEMBLER_MACROS_ONLY | 10 | #define ASSEMBLER_MACROS_ONLY |
11 | /* The IO_* macros use the ## token concatenation operator, so | 11 | /* The IO_* macros use the ## token concatenation operator, so |
12 | -traditional must not be used when assembling this file. */ | 12 | -traditional must not be used when assembling this file. */ |
13 | #include <asm/arch/sv_addr_ag.h> | 13 | #include <arch/sv_addr_ag.h> |
14 | 14 | ||
15 | #define CRAMFS_MAGIC 0x28cd3d45 | 15 | #define CRAMFS_MAGIC 0x28cd3d45 |
16 | #define RAM_INIT_MAGIC 0x56902387 | 16 | #define RAM_INIT_MAGIC 0x56902387 |
diff --git a/arch/cris/arch-v10/kernel/io_interface_mux.c b/arch/cris/arch-v10/kernel/io_interface_mux.c index add98e0941b5..29f97e962795 100644 --- a/arch/cris/arch-v10/kernel/io_interface_mux.c +++ b/arch/cris/arch-v10/kernel/io_interface_mux.c | |||
@@ -11,9 +11,9 @@ | |||
11 | #include <linux/module.h> | 11 | #include <linux/module.h> |
12 | #include <linux/init.h> | 12 | #include <linux/init.h> |
13 | 13 | ||
14 | #include <asm/arch/svinto.h> | 14 | #include <arch/svinto.h> |
15 | #include <asm/io.h> | 15 | #include <asm/io.h> |
16 | #include <asm/arch/io_interface_mux.h> | 16 | #include <arch/io_interface_mux.h> |
17 | 17 | ||
18 | 18 | ||
19 | #define DBG(s) | 19 | #define DBG(s) |
diff --git a/arch/cris/arch-v10/kernel/kgdb.c b/arch/cris/arch-v10/kernel/kgdb.c index 6fea45f2e40c..b9f9c8ce2169 100644 --- a/arch/cris/arch-v10/kernel/kgdb.c +++ b/arch/cris/arch-v10/kernel/kgdb.c | |||
@@ -176,7 +176,7 @@ | |||
176 | #include <asm/setup.h> | 176 | #include <asm/setup.h> |
177 | #include <asm/ptrace.h> | 177 | #include <asm/ptrace.h> |
178 | 178 | ||
179 | #include <asm/arch/svinto.h> | 179 | #include <arch/svinto.h> |
180 | #include <asm/irq.h> | 180 | #include <asm/irq.h> |
181 | 181 | ||
182 | static int kgdb_started = 0; | 182 | static int kgdb_started = 0; |
diff --git a/arch/cris/arch-v10/kernel/process.c b/arch/cris/arch-v10/kernel/process.c index 53117f07cc1a..bd9b3ff63f6c 100644 --- a/arch/cris/arch-v10/kernel/process.c +++ b/arch/cris/arch-v10/kernel/process.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/err.h> | 14 | #include <linux/err.h> |
15 | #include <linux/fs.h> | 15 | #include <linux/fs.h> |
16 | #include <linux/slab.h> | 16 | #include <linux/slab.h> |
17 | #include <asm/arch/svinto.h> | 17 | #include <arch/svinto.h> |
18 | #include <linux/init.h> | 18 | #include <linux/init.h> |
19 | 19 | ||
20 | #ifdef CONFIG_ETRAX_GPIO | 20 | #ifdef CONFIG_ETRAX_GPIO |
diff --git a/arch/cris/arch-v10/kernel/time.c b/arch/cris/arch-v10/kernel/time.c index 525483f0ddf8..c685ba4c3387 100644 --- a/arch/cris/arch-v10/kernel/time.c +++ b/arch/cris/arch-v10/kernel/time.c | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/sched.h> | 14 | #include <linux/sched.h> |
15 | #include <linux/init.h> | 15 | #include <linux/init.h> |
16 | #include <linux/mm.h> | 16 | #include <linux/mm.h> |
17 | #include <asm/arch/svinto.h> | 17 | #include <arch/svinto.h> |
18 | #include <asm/types.h> | 18 | #include <asm/types.h> |
19 | #include <asm/signal.h> | 19 | #include <asm/signal.h> |
20 | #include <asm/io.h> | 20 | #include <asm/io.h> |
diff --git a/arch/cris/arch-v10/kernel/traps.c b/arch/cris/arch-v10/kernel/traps.c index 9eada5d8893b..8bebb96bbca1 100644 --- a/arch/cris/arch-v10/kernel/traps.c +++ b/arch/cris/arch-v10/kernel/traps.c | |||
@@ -10,7 +10,7 @@ | |||
10 | 10 | ||
11 | #include <linux/ptrace.h> | 11 | #include <linux/ptrace.h> |
12 | #include <asm/uaccess.h> | 12 | #include <asm/uaccess.h> |
13 | #include <asm/arch/sv_addr_ag.h> | 13 | #include <arch/sv_addr_ag.h> |
14 | 14 | ||
15 | void | 15 | void |
16 | show_registers(struct pt_regs *regs) | 16 | show_registers(struct pt_regs *regs) |
diff --git a/arch/cris/arch-v10/mm/fault.c b/arch/cris/arch-v10/mm/fault.c index 65504fd80928..087a2096f221 100644 --- a/arch/cris/arch-v10/mm/fault.c +++ b/arch/cris/arch-v10/mm/fault.c | |||
@@ -13,7 +13,7 @@ | |||
13 | #include <linux/mm.h> | 13 | #include <linux/mm.h> |
14 | #include <asm/uaccess.h> | 14 | #include <asm/uaccess.h> |
15 | #include <asm/pgtable.h> | 15 | #include <asm/pgtable.h> |
16 | #include <asm/arch/svinto.h> | 16 | #include <arch/svinto.h> |
17 | #include <asm/mmu_context.h> | 17 | #include <asm/mmu_context.h> |
18 | 18 | ||
19 | /* debug of low-level TLB reload */ | 19 | /* debug of low-level TLB reload */ |
diff --git a/arch/cris/arch-v10/mm/init.c b/arch/cris/arch-v10/mm/init.c index 742fd1974c2e..baa746ce4e74 100644 --- a/arch/cris/arch-v10/mm/init.c +++ b/arch/cris/arch-v10/mm/init.c | |||
@@ -12,7 +12,7 @@ | |||
12 | #include <asm/mmu.h> | 12 | #include <asm/mmu.h> |
13 | #include <asm/io.h> | 13 | #include <asm/io.h> |
14 | #include <asm/mmu_context.h> | 14 | #include <asm/mmu_context.h> |
15 | #include <asm/arch/svinto.h> | 15 | #include <arch/svinto.h> |
16 | 16 | ||
17 | extern void tlb_init(void); | 17 | extern void tlb_init(void); |
18 | 18 | ||
diff --git a/arch/cris/arch-v10/mm/tlb.c b/arch/cris/arch-v10/mm/tlb.c index 6baf5bd209e7..4a496e4ffacc 100644 --- a/arch/cris/arch-v10/mm/tlb.c +++ b/arch/cris/arch-v10/mm/tlb.c | |||
@@ -12,7 +12,7 @@ | |||
12 | 12 | ||
13 | #include <asm/tlb.h> | 13 | #include <asm/tlb.h> |
14 | #include <asm/mmu_context.h> | 14 | #include <asm/mmu_context.h> |
15 | #include <asm/arch/svinto.h> | 15 | #include <arch/svinto.h> |
16 | 16 | ||
17 | #define D(x) | 17 | #define D(x) |
18 | 18 | ||