aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-07-20 04:45:05 -0400
committerPaul Mundt <lethal@linux-sh.org>2007-07-20 04:45:05 -0400
commit56982002a359533d471834f4398e3002aeb6fbbc (patch)
tree7418778cdc4de7537a813ecf78cbc83941c8ea9a /arch
parentbeeea6d6a1f9c39fbda3abdd2c528ba90422e4bf (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>
Diffstat (limited to 'arch')
-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 f3740ddbc471..186406d3ad9c 100644
--- a/arch/sh64/kernel/head.S
+++ b/arch/sh64/kernel/head.S
@@ -124,7 +124,7 @@ empty_bad_pte_table:
124fpu_in_use: .quad 0 124fpu_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)