summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorDaniel Glöckner <dg@emlix.com>2009-03-11 16:15:11 +0300
committerChris Zankel <chris@zankel.net>2009-04-03 10:45:35 +0400
commit06a7476be78c58a5ee0f4b4cc4acf43800087d52 (patch)
tree847e1dc840716611f93069f1f65c85b6f34ab708 /arch
parentfcc8f0f81f249d61cd600bf2b9ca904bdaea0857 (diff)
downloadlinux-06a7476be78c58a5ee0f4b4cc4acf43800087d52.tar.xz
xtensa: make startup code discardable
Move it from .text to .init.text to get rid of it after boot and prevent illegal section references. Signed-off-by: Daniel Glöckner <dg@emlix.com> Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch')
-rw-r--r--arch/xtensa/kernel/head.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/kernel/head.S b/arch/xtensa/kernel/head.S
index d092c225d5b7..0817f9db836e 100644
--- a/arch/xtensa/kernel/head.S
+++ b/arch/xtensa/kernel/head.S
@@ -53,7 +53,7 @@ _start: _j 2f
2: l32r a0, 1b
jx a0
- .text
+ .section .init.text, "ax"
.align 4
_startup: