Ver Fonte

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>
Paul Mundt há 18 anos atrás
pai
commit
56982002a3
2 ficheiros alterados com 2 adições e 1 exclusões
  1. 1 1
      arch/sh64/kernel/head.S
  2. 1 0
      arch/sh64/kernel/vmlinux.lds.S

+ 1 - 1
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:

+ 1 - 0
arch/sh64/kernel/vmlinux.lds.S

@@ -54,6 +54,7 @@ SECTIONS
 	} = 0
 
   .text : C_PHYS(.text) {
+  	*(.text.head)
 	TEXT_TEXT
 	*(.text64)
         *(.text..SHmedia32)