Skip to contentSkip to conversation

xtensa: make startup code discardable

PATCH New Daniel Glöckner 1 participant 1 message Mar 23, 2009 Tensilica Xtensa port (xtensa)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xtensa: make startup code discardable

Move it from .text to .init.text to get rid of it after boot and prevent illegal section references.

---
 arch/xtensa/kernel/head.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/xtensa/kernel/head.S +1 -1
index d092c22..0817f9d 100644
@@ -53,7 +53,7 @@ _start:	_j	2f
 2:	l32r	a0, 1b
 	jx	a0
 
-	.text
+	.section .init.text, "ax"
 	.align 4
 _startup:
 
Signature · 1 line
1.6.2.107.ge47ee