aboutsummaryrefslogtreecommitdiff
path: root/arch/xtensa/kernel
diff options
context:
space:
mode:
authorDaniel Glöckner <dg@emlix.com>2009-03-11 14:15:11 +0100
committerChris Zankel <chris@zankel.net>2009-04-02 23:45:35 -0700
commit06a7476be78c58a5ee0f4b4cc4acf43800087d52 (patch)
tree847e1dc840716611f93069f1f65c85b6f34ab708 /arch/xtensa/kernel
parentfcc8f0f81f249d61cd600bf2b9ca904bdaea0857 (diff)
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/xtensa/kernel')
-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 d092c225d5b..0817f9db836 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: