diff options
author | Daniel Glöckner <dg@emlix.com> | 2009-03-11 09:15:11 -0400 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2009-04-03 02:45:35 -0400 |
commit | 06a7476be78c58a5ee0f4b4cc4acf43800087d52 (patch) | |
tree | 847e1dc840716611f93069f1f65c85b6f34ab708 /arch/xtensa/kernel | |
parent | fcc8f0f81f249d61cd600bf2b9ca904bdaea0857 (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.S | 2 |
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 | |||
53 | 2: l32r a0, 1b | 53 | 2: l32r a0, 1b |
54 | jx a0 | 54 | jx a0 |
55 | 55 | ||
56 | .text | 56 | .section .init.text, "ax" |
57 | .align 4 | 57 | .align 4 |
58 | _startup: | 58 | _startup: |
59 | 59 | ||