diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-07-20 04:45:05 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-07-20 04:45:05 -0400 |
commit | 56982002a359533d471834f4398e3002aeb6fbbc (patch) | |
tree | 7418778cdc4de7537a813ecf78cbc83941c8ea9a | |
parent | beeea6d6a1f9c39fbda3abdd2c528ba90422e4bf (diff) |
sh64: Move entry point code to .text.head.
Follow the sh and m68k changes to silence the modpost warnings.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r-- | arch/sh64/kernel/head.S | 2 | ||||
-rw-r--r-- | arch/sh64/kernel/vmlinux.lds.S | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh64/kernel/head.S b/arch/sh64/kernel/head.S index f3740ddbc471..186406d3ad9c 100644 --- a/arch/sh64/kernel/head.S +++ b/arch/sh64/kernel/head.S | |||
@@ -124,7 +124,7 @@ empty_bad_pte_table: | |||
124 | fpu_in_use: .quad 0 | 124 | fpu_in_use: .quad 0 |
125 | 125 | ||
126 | 126 | ||
127 | .section .text, "ax" | 127 | .section .text.head, "ax" |
128 | .balign L1_CACHE_BYTES | 128 | .balign L1_CACHE_BYTES |
129 | /* | 129 | /* |
130 | * Condition at the entry of __stext: | 130 | * Condition at the entry of __stext: |
diff --git a/arch/sh64/kernel/vmlinux.lds.S b/arch/sh64/kernel/vmlinux.lds.S index 8ac9c7c5f848..267b4f9af2e1 100644 --- a/arch/sh64/kernel/vmlinux.lds.S +++ b/arch/sh64/kernel/vmlinux.lds.S | |||
@@ -54,6 +54,7 @@ SECTIONS | |||
54 | } = 0 | 54 | } = 0 |
55 | 55 | ||
56 | .text : C_PHYS(.text) { | 56 | .text : C_PHYS(.text) { |
57 | *(.text.head) | ||
57 | TEXT_TEXT | 58 | TEXT_TEXT |
58 | *(.text64) | 59 | *(.text64) |
59 | *(.text..SHmedia32) | 60 | *(.text..SHmedia32) |