Просмотр исходного кода

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>
Daniel Glöckner 16 лет назад
Родитель
Сommit
06a7476be7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      arch/xtensa/kernel/head.S

+ 1 - 1
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: