mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch] xtensa: make startup code discardable
@ 2009-03-23 13:55 Daniel Glöckner
  0 siblings, 0 replies; only message in thread
From: Daniel Glöckner @ 2009-03-23 13:55 UTC (permalink / raw)
  To: Chris Zankel; +Cc: linux-kernel, linux-xtensa, Daniel Glöckner

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>
---
 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:
 
-- 
1.6.2.107.ge47ee


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-23 13:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-23 13:55 [patch] xtensa: make startup code discardable Daniel Glöckner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®