mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 15:31:14 +07:00
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>
This commit is contained in:
parent
3496369662
commit
6f335cab04
@ -577,7 +577,7 @@ func_define putn,1
|
||||
#endif
|
||||
.endm
|
||||
|
||||
.section ".text.head","ax"
|
||||
__HEAD
|
||||
ENTRY(_stext)
|
||||
/*
|
||||
* Version numbers of the bootinfo interface
|
||||
|
@ -29,7 +29,7 @@ kernel_pmd_table: .skip 0x2000
|
||||
.globl kernel_pg_dir
|
||||
.equ kernel_pg_dir,kernel_pmd_table
|
||||
|
||||
.section .text.head
|
||||
__HEAD
|
||||
ENTRY(_stext)
|
||||
ENTRY(_start)
|
||||
|
||||
|
@ -12,7 +12,7 @@ SECTIONS
|
||||
. = 0x1000;
|
||||
_text = .; /* Text and read-only data */
|
||||
.text : {
|
||||
*(.text.head)
|
||||
HEAD_TEXT
|
||||
TEXT_TEXT
|
||||
SCHED_TEXT
|
||||
LOCK_TEXT
|
||||
|
@ -12,7 +12,7 @@ SECTIONS
|
||||
. = 0xE002000;
|
||||
_text = .; /* Text and read-only data */
|
||||
.text : {
|
||||
*(.text.head)
|
||||
HEAD_TEXT
|
||||
TEXT_TEXT
|
||||
SCHED_TEXT
|
||||
LOCK_TEXT
|
||||
|
Loading…
Reference in New Issue
Block a user