diff options
author | Daniel Glöckner <dg@emlix.com> | 2009-03-11 14:15:11 +0100 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2009-04-02 23:45:35 -0700 |
commit | 06a7476be78c58a5ee0f4b4cc4acf43800087d52 (patch) | |
tree | 847e1dc840716611f93069f1f65c85b6f34ab708 /arch/xtensa/kernel | |
parent | fcc8f0f81f249d61cd600bf2b9ca904bdaea0857 (diff) | |
download | op-kernel-dev-06a7476be78c58a5ee0f4b4cc4acf43800087d52.zip op-kernel-dev-06a7476be78c58a5ee0f4b4cc4acf43800087d52.tar.gz |
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 d092c22..0817f9d 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: |