]> err.no Git - linux-2.6/commitdiff
sh64: Move entry point code to .text.head.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 20 Jul 2007 08:45:05 +0000 (17:45 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 20 Jul 2007 08:45:05 +0000 (17:45 +0900)
Follow the sh and m68k changes to silence the modpost warnings.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh64/kernel/head.S
arch/sh64/kernel/vmlinux.lds.S

index f3740ddbc47190fc99ec05c7cfda8a75c25cebca..186406d3ad9c60561992e6e1682e2730de8df748 100644 (file)
@@ -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:
index 8ac9c7c5f8487fd31c872a5ebb1ec7e354564b1a..267b4f9af2e18ccc1117f465a4a62406710a4ee4 100644 (file)
@@ -54,6 +54,7 @@ SECTIONS
        } = 0
 
   .text : C_PHYS(.text) {
+       *(.text.head)
        TEXT_TEXT
        *(.text64)
         *(.text..SHmedia32)