1
0
Fork 0

xtensa: convert to use __HEAD and HEAD_TEXT macros.

Signed-off-by: Tim Abbott <tabbott@mit.edu>
Cc: Chris Zankel <chris@zankel.net>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
hifive-unleashed-5.1
Tim Abbott 2009-04-25 22:10:57 -04:00 committed by Linus Torvalds
parent c80d471a47
commit 0ebdcb4d04
2 changed files with 4 additions and 3 deletions

View File

@ -19,6 +19,7 @@
#include <asm/page.h>
#include <asm/cacheasm.h>
#include <linux/init.h>
#include <linux/linkage.h>
/*
@ -45,7 +46,7 @@
* instruction.
*/
.section .head.text, "ax"
__HEAD
.globl _start
_start: _j 2f
.align 4

View File

@ -85,8 +85,8 @@ SECTIONS
.text :
{
/* The .head.text section must be the first section! */
*(.head.text)
/* The HEAD_TEXT section must be the first section! */
HEAD_TEXT
*(.literal .text)
VMLINUX_SYMBOL(__sched_text_start) = .;
*(.sched.literal .sched.text)