summaryrefslogtreecommitdiff
path: root/arch/sh64
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-07-20 17:45:05 +0900
committerPaul Mundt <lethal@linux-sh.org>2007-07-20 17:45:05 +0900
commit56982002a359533d471834f4398e3002aeb6fbbc (patch)
tree7418778cdc4de7537a813ecf78cbc83941c8ea9a /arch/sh64
parentbeeea6d6a1f9c39fbda3abdd2c528ba90422e4bf (diff)
downloadlinux-3.10-56982002a359533d471834f4398e3002aeb6fbbc.tar.gz
linux-3.10-56982002a359533d471834f4398e3002aeb6fbbc.tar.bz2
linux-3.10-56982002a359533d471834f4398e3002aeb6fbbc.zip
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>
Diffstat (limited to 'arch/sh64')
-rw-r--r--arch/sh64/kernel/head.S2
-rw-r--r--arch/sh64/kernel/vmlinux.lds.S1
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/sh64/kernel/head.S b/arch/sh64/kernel/head.S
index f3740ddbc47..186406d3ad9 100644
--- a/arch/sh64/kernel/head.S
+++ b/arch/sh64/kernel/head.S
@@ -124,7 +124,7 @@ empty_bad_pte_table:
fpu_in_use: .quad 0
- .section .text, "ax"
+ .section .text.head, "ax"
.balign L1_CACHE_BYTES
/*
* Condition at the entry of __stext:
diff --git a/arch/sh64/kernel/vmlinux.lds.S b/arch/sh64/kernel/vmlinux.lds.S
index 8ac9c7c5f84..267b4f9af2e 100644
--- a/arch/sh64/kernel/vmlinux.lds.S
+++ b/arch/sh64/kernel/vmlinux.lds.S
@@ -54,6 +54,7 @@ SECTIONS
} = 0
.text : C_PHYS(.text) {
+ *(.text.head)
TEXT_TEXT
*(.text64)
*(.text..SHmedia32)