Skip to content

Commit

Permalink
xtensa: convert to use __HEAD and HEAD_TEXT macros.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tim Abbott authored and Linus Torvalds committed Apr 26, 2009
1 parent c80d471 commit 0ebdcb4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion arch/xtensa/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include <asm/page.h>
#include <asm/cacheasm.h>

#include <linux/init.h>
#include <linux/linkage.h>

/*
Expand All @@ -45,7 +46,7 @@
* instruction.
*/

.section .head.text, "ax"
__HEAD
.globl _start
_start: _j 2f
.align 4
Expand Down
4 changes: 2 additions & 2 deletions arch/xtensa/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0ebdcb4

Please sign in to comment.