Commit 6f335cab0431d5df4995bcd4fd952d4c746d5a86

Authored by Tim Abbott
Committed by Linus Torvalds
1 parent 3496369662

m68k: convert to use __HEAD and HEAD_TEXT macros.

This has the consequence of changing the section name use for head
code from ".text.head" to ".head.text".  Since this commit changes all
users in the architecture, this change should be harmless.

Signed-off-by: Tim Abbott <tabbott@mit.edu>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 4 changed files with 4 additions and 4 deletions Side-by-side Diff

arch/m68k/kernel/head.S
... ... @@ -577,7 +577,7 @@
577 577 #endif
578 578 .endm
579 579  
580   -.section ".text.head","ax"
  580 +__HEAD
581 581 ENTRY(_stext)
582 582 /*
583 583 * Version numbers of the bootinfo interface
arch/m68k/kernel/sun3-head.S
... ... @@ -29,7 +29,7 @@
29 29 .globl kernel_pg_dir
30 30 .equ kernel_pg_dir,kernel_pmd_table
31 31  
32   - .section .text.head
  32 + __HEAD
33 33 ENTRY(_stext)
34 34 ENTRY(_start)
35 35  
arch/m68k/kernel/vmlinux-std.lds
... ... @@ -12,7 +12,7 @@
12 12 . = 0x1000;
13 13 _text = .; /* Text and read-only data */
14 14 .text : {
15   - *(.text.head)
  15 + HEAD_TEXT
16 16 TEXT_TEXT
17 17 SCHED_TEXT
18 18 LOCK_TEXT
arch/m68k/kernel/vmlinux-sun3.lds
... ... @@ -12,7 +12,7 @@
12 12 . = 0xE002000;
13 13 _text = .; /* Text and read-only data */
14 14 .text : {
15   - *(.text.head)
  15 + HEAD_TEXT
16 16 TEXT_TEXT
17 17 SCHED_TEXT
18 18 LOCK_TEXT