提交 0ebdcb4d 编写于 作者: T Tim Abbott 提交者: Linus Torvalds

xtensa: convert to use __HEAD and HEAD_TEXT macros.

Signed-off-by: NTim Abbott <tabbott@mit.edu>
Cc: Chris Zankel <chris@zankel.net>
Acked-by: NSam Ravnborg <sam@ravnborg.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 c80d471a
......@@ -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
......
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册