[PATCH] ARM: imx6: drop .text.head section annotation from headsmp.S

Shawn Guo shawn.guo at linaro.org
Thu Feb 27 03:39:58 EST 2014


The function v7_secondary_startup() works just fine in .text section, so
there is no need to have .text.head section annotation at all.  Drop it.

Suggested-by: Russell King <rmk+kernel at arm.linux.org.uk>
Signed-off-by: Shawn Guo <shawn.guo at linaro.org>
---
 arch/arm/mach-imx/headsmp.S |    2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm/mach-imx/headsmp.S b/arch/arm/mach-imx/headsmp.S
index 6e1a56d..de5047c 100644
--- a/arch/arm/mach-imx/headsmp.S
+++ b/arch/arm/mach-imx/headsmp.S
@@ -13,8 +13,6 @@
 #include <linux/linkage.h>
 #include <linux/init.h>
 
-	.section ".text.head", "ax"
-
 diag_reg_offset:
 	.word	g_diag_reg - .
 
-- 
1.7.9.5





More information about the linux-arm-kernel mailing list