diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-11-12 06:39:21 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-12 06:39:21 -0500 |
commit | 708b8eae0fd532af73ea8350e6dcc10255ff7376 (patch) | |
tree | f336436934fd79bc91aff7112a9beb10bc4e839f /arch/cris/arch-v10 | |
parent | d98d38f2014ab79f28c126ff175d034891f7aefc (diff) | |
parent | f21f237cf55494c3a4209de323281a3b0528da10 (diff) |
Merge branch 'linus' into core/locking
Diffstat (limited to 'arch/cris/arch-v10')
27 files changed, 31 insertions, 194 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/asm-offsets.c b/arch/cris/arch-v10/kernel/asm-offsets.c deleted file mode 100644 index 1aa3cc4e7107..000000000000 --- a/arch/cris/arch-v10/kernel/asm-offsets.c +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | #include <linux/sched.h> | ||
2 | #include <asm/thread_info.h> | ||
3 | |||
4 | /* | ||
5 | * Generate definitions needed by assembly language modules. | ||
6 | * This code generates raw asm output which is post-processed to extract | ||
7 | * and format the required data. | ||
8 | */ | ||
9 | |||
10 | #define DEFINE(sym, val) \ | ||
11 | asm volatile("\n->" #sym " %0 " #val : : "i" (val)) | ||
12 | |||
13 | #define BLANK() asm volatile("\n->" : : ) | ||
14 | |||
15 | int main(void) | ||
16 | { | ||
17 | #define ENTRY(entry) DEFINE(PT_ ## entry, offsetof(struct pt_regs, entry)) | ||
18 | ENTRY(orig_r10); | ||
19 | ENTRY(r13); | ||
20 | ENTRY(r12); | ||
21 | ENTRY(r11); | ||
22 | ENTRY(r10); | ||
23 | ENTRY(r9); | ||
24 | ENTRY(mof); | ||
25 | ENTRY(dccr); | ||
26 | ENTRY(srp); | ||
27 | BLANK(); | ||
28 | #undef ENTRY | ||
29 | #define ENTRY(entry) DEFINE(TI_ ## entry, offsetof(struct thread_info, entry)) | ||
30 | ENTRY(task); | ||
31 | ENTRY(flags); | ||
32 | ENTRY(preempt_count); | ||
33 | BLANK(); | ||
34 | #undef ENTRY | ||
35 | #define ENTRY(entry) DEFINE(THREAD_ ## entry, offsetof(struct thread_struct, entry)) | ||
36 | ENTRY(ksp); | ||
37 | ENTRY(usp); | ||
38 | ENTRY(dccr); | ||
39 | BLANK(); | ||
40 | #undef ENTRY | ||
41 | #define ENTRY(entry) DEFINE(TASK_ ## entry, offsetof(struct task_struct, entry)) | ||
42 | ENTRY(pid); | ||
43 | BLANK(); | ||
44 | DEFINE(LCLONE_VM, CLONE_VM); | ||
45 | DEFINE(LCLONE_UNTRACED, CLONE_UNTRACED); | ||
46 | return 0; | ||
47 | } | ||
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 | ||
diff --git a/arch/cris/arch-v10/vmlinux.lds.S b/arch/cris/arch-v10/vmlinux.lds.S deleted file mode 100644 index 93c9f0ea286b..000000000000 --- a/arch/cris/arch-v10/vmlinux.lds.S +++ /dev/null | |||
@@ -1,118 +0,0 @@ | |||
1 | /* ld script to make the Linux/CRIS kernel | ||
2 | * Authors: Bjorn Wesen (bjornw@axis.com) | ||
3 | * | ||
4 | * It is VERY DANGEROUS to fiddle around with the symbols in this | ||
5 | * script. It is for example quite vital that all generated sections | ||
6 | * that are used are actually named here, otherwise the linker will | ||
7 | * put them at the end, where the init stuff is which is FREED after | ||
8 | * the kernel has booted. | ||
9 | */ | ||
10 | |||
11 | #include <asm-generic/vmlinux.lds.h> | ||
12 | #include <asm/page.h> | ||
13 | |||
14 | jiffies = jiffies_64; | ||
15 | SECTIONS | ||
16 | { | ||
17 | . = DRAM_VIRTUAL_BASE; | ||
18 | dram_start = .; | ||
19 | ibr_start = .; | ||
20 | . = . + 0x4000; /* see head.S and pages reserved at the start */ | ||
21 | |||
22 | _text = .; /* Text and read-only data */ | ||
23 | text_start = .; /* lots of aliases */ | ||
24 | _stext = .; | ||
25 | __stext = .; | ||
26 | .text : { | ||
27 | TEXT_TEXT | ||
28 | SCHED_TEXT | ||
29 | LOCK_TEXT | ||
30 | *(.fixup) | ||
31 | *(.text.__*) | ||
32 | } | ||
33 | |||
34 | _etext = . ; /* End of text section */ | ||
35 | __etext = .; | ||
36 | |||
37 | . = ALIGN(4); /* Exception table */ | ||
38 | __start___ex_table = .; | ||
39 | __ex_table : { *(__ex_table) } | ||
40 | __stop___ex_table = .; | ||
41 | |||
42 | RODATA | ||
43 | |||
44 | . = ALIGN (4); | ||
45 | ___data_start = . ; | ||
46 | __Sdata = . ; | ||
47 | .data : { /* Data */ | ||
48 | DATA_DATA | ||
49 | } | ||
50 | __edata = . ; /* End of data section */ | ||
51 | _edata = . ; | ||
52 | |||
53 | . = ALIGN(PAGE_SIZE); /* init_task and stack, must be aligned */ | ||
54 | .data.init_task : { *(.data.init_task) } | ||
55 | |||
56 | . = ALIGN(PAGE_SIZE); /* Init code and data */ | ||
57 | __init_begin = .; | ||
58 | .init.text : { | ||
59 | _sinittext = .; | ||
60 | INIT_TEXT | ||
61 | _einittext = .; | ||
62 | } | ||
63 | .init.data : { INIT_DATA } | ||
64 | . = ALIGN(16); | ||
65 | __setup_start = .; | ||
66 | .init.setup : { *(.init.setup) } | ||
67 | __setup_end = .; | ||
68 | .initcall.init : { | ||
69 | __initcall_start = .; | ||
70 | INITCALLS | ||
71 | __initcall_end = .; | ||
72 | } | ||
73 | |||
74 | .con_initcall.init : { | ||
75 | __con_initcall_start = .; | ||
76 | *(.con_initcall.init) | ||
77 | __con_initcall_end = .; | ||
78 | } | ||
79 | SECURITY_INIT | ||
80 | |||
81 | #ifdef CONFIG_BLK_DEV_INITRD | ||
82 | .init.ramfs : { | ||
83 | __initramfs_start = .; | ||
84 | *(.init.ramfs) | ||
85 | __initramfs_end = .; | ||
86 | } | ||
87 | #endif | ||
88 | __vmlinux_end = .; /* last address of the physical file */ | ||
89 | |||
90 | /* | ||
91 | * We fill to the next page, so we can discard all init | ||
92 | * pages without needing to consider what payload might be | ||
93 | * appended to the kernel image. | ||
94 | */ | ||
95 | . = ALIGN(PAGE_SIZE); | ||
96 | |||
97 | __init_end = .; | ||
98 | |||
99 | __data_end = . ; /* Move to _edata ? */ | ||
100 | __bss_start = .; /* BSS */ | ||
101 | .bss : { | ||
102 | *(COMMON) | ||
103 | *(.bss) | ||
104 | } | ||
105 | |||
106 | . = ALIGN (0x20); | ||
107 | _end = .; | ||
108 | __end = .; | ||
109 | |||
110 | /* Sections to be discarded */ | ||
111 | /DISCARD/ : { | ||
112 | EXIT_TEXT | ||
113 | EXIT_DATA | ||
114 | *(.exitcall.exit) | ||
115 | } | ||
116 | |||
117 | dram_end = dram_start + CONFIG_ETRAX_DRAM_SIZE*1024*1024; | ||
118 | } | ||