From: Daniel Glöckner Date: Wed, 11 Mar 2009 13:15:11 +0000 (+0100) Subject: xtensa: make startup code discardable X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=06a7476be78c58a5ee0f4b4cc4acf43800087d52;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Chris Zankel --- 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: