Skip to content

Commit 6f335ca

Browse files
timabbotttorvalds
authored andcommitted
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>
1 parent 3496369 commit 6f335ca

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎arch/m68k/kernel/head.S‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ func_define putn,1
577577
#endif
578578
.endm
579579

580-
.section ".text.head","ax"
580+
__HEAD
581581
ENTRY(_stext)
582582
/*
583583
* Version numbers of the bootinfo interface

‎arch/m68k/kernel/sun3-head.S‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ kernel_pmd_table: .skip 0x2000
2929
.globl kernel_pg_dir
3030
.equ kernel_pg_dir,kernel_pmd_table
3131

32-
.section .text.head
32+
__HEAD
3333
ENTRY(_stext)
3434
ENTRY(_start)
3535

‎arch/m68k/kernel/vmlinux-std.lds‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ SECTIONS
1212
. = 0x1000;
1313
_text = .; /* Text and read-only data */
1414
.text : {
15-
*(.text.head)
15+
HEAD_TEXT
1616
TEXT_TEXT
1717
SCHED_TEXT
1818
LOCK_TEXT

‎arch/m68k/kernel/vmlinux-sun3.lds‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ SECTIONS
1212
. = 0xE002000;
1313
_text = .; /* Text and read-only data */
1414
.text : {
15-
*(.text.head)
15+
HEAD_TEXT
1616
TEXT_TEXT
1717
SCHED_TEXT
1818
LOCK_TEXT

0 commit comments

Comments
 (0)