Commit 0ebdcb4d authored by Tim Abbott's avatar Tim Abbott Committed by Linus Torvalds

xtensa: convert to use __HEAD and HEAD_TEXT macros.

Signed-off-by: default avatarTim Abbott <tabbott@mit.edu>
Cc: Chris Zankel <chris@zankel.net>
Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c80d471a
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <asm/page.h> #include <asm/page.h>
#include <asm/cacheasm.h> #include <asm/cacheasm.h>
#include <linux/init.h>
#include <linux/linkage.h> #include <linux/linkage.h>
/* /*
...@@ -45,7 +46,7 @@ ...@@ -45,7 +46,7 @@
* instruction. * instruction.
*/ */
.section .head.text, "ax" __HEAD
.globl _start .globl _start
_start: _j 2f _start: _j 2f
.align 4 .align 4
......
...@@ -85,8 +85,8 @@ SECTIONS ...@@ -85,8 +85,8 @@ SECTIONS
.text : .text :
{ {
/* The .head.text section must be the first section! */ /* The HEAD_TEXT section must be the first section! */
*(.head.text) HEAD_TEXT
*(.literal .text) *(.literal .text)
VMLINUX_SYMBOL(__sched_text_start) = .; VMLINUX_SYMBOL(__sched_text_start) = .;
*(.sched.literal .sched.text) *(.sched.literal .sched.text)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment