diff options
Diffstat (limited to 'arch/sh/kernel/head.S')
-rw-r--r-- | arch/sh/kernel/head.S | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/sh/kernel/head.S b/arch/sh/kernel/head.S index 3e7d00b7985a..f5f53d14f245 100644 --- a/arch/sh/kernel/head.S +++ b/arch/sh/kernel/head.S | |||
@@ -12,7 +12,6 @@ | |||
12 | */ | 12 | */ |
13 | #include <linux/linkage.h> | 13 | #include <linux/linkage.h> |
14 | #include <asm/thread_info.h> | 14 | #include <asm/thread_info.h> |
15 | #include <asm/page.h> | ||
16 | 15 | ||
17 | #ifdef CONFIG_CPU_SH4A | 16 | #ifdef CONFIG_CPU_SH4A |
18 | #define SYNCO() synco | 17 | #define SYNCO() synco |
@@ -69,8 +68,8 @@ ENTRY(_stext) | |||
69 | ! | 68 | ! |
70 | mov.l 2f, r0 | 69 | mov.l 2f, r0 |
71 | mov r0, r15 ! Set initial r15 (stack pointer) | 70 | mov r0, r15 ! Set initial r15 (stack pointer) |
72 | mov #0x20, r1 ! | 71 | mov #(THREAD_SIZE >> 8), r1 |
73 | shll8 r1 ! r1 = 8192 | 72 | shll8 r1 ! r1 = THREAD_SIZE |
74 | sub r1, r0 ! | 73 | sub r1, r0 ! |
75 | ldc r0, r7_bank ! ... and initial thread_info | 74 | ldc r0, r7_bank ! ... and initial thread_info |
76 | 75 | ||