summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/kernel/head.S
diff options
context:
space:
mode:
authorTim Abbott <tabbott@MIT.EDU>2009-04-26 04:10:57 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-26 18:20:38 +0200
commit0ebdcb4d0480d1b8219cf5f9eab0fb5d889af0ad (patch)
tree0208d6eb248077260467eec3bd8746ab0e8bfd2b /arch/xtensa/kernel/head.S
parentAdd new HEAD_TEXT_SECTION macro. (diff)
downloadlinux-0ebdcb4d0480d1b8219cf5f9eab0fb5d889af0ad.tar.xz
linux-0ebdcb4d0480d1b8219cf5f9eab0fb5d889af0ad.zip
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>
Diffstat (limited to 'arch/xtensa/kernel/head.S')
-rw-r--r--arch/xtensa/kernel/head.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/xtensa/kernel/head.S b/arch/xtensa/kernel/head.S
index 0817f9db836e..d9ddc1ba761c 100644
--- a/arch/xtensa/kernel/head.S
+++ b/arch/xtensa/kernel/head.S
@@ -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