From: Paul Mundt Date: Fri, 20 Jul 2007 08:45:05 +0000 (+0900) Subject: sh64: Move entry point code to .text.head. X-Git-Tag: v2.6.23-rc1~216^2~1 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=56982002a359533d471834f4398e3002aeb6fbbc;p=~emulex%2Finfiniband.git sh64: Move entry point code to .text.head. Follow the sh and m68k changes to silence the modpost warnings. Signed-off-by: Paul Mundt --- 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)