summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/omap-headsmp.S
diff options
context:
space:
mode:
authorDave Martin <dave.martin@linaro.org>2011-03-04 15:33:54 +0000
committerKevin Hilman <khilman@ti.com>2011-03-09 16:38:36 -0800
commitf96bdfa0d036393741fce303ea98abb44452d042 (patch)
tree0c199fcb7263ce4b67d7ee0e4ea510149d16f38c /arch/arm/mach-omap2/omap-headsmp.S
parent85243a762457f7891ae525df39ad44323b3eeea6 (diff)
ARM: omap4: Convert END() to ENDPROC() for correct linkage with CONFIG_THUMB2_KERNEL
Code marked with ENTRY() also needs a matching ENDPROC() directive, in order to ensure that the type and instruction set of the symbol are correctly annotated. ENDPROC() tags the affected symbol as a function symbol, which will ensure that link-time fixups don't accidentally switch to the wrong instruction set. Signed-off-by: Dave Martin <dave.martin@linaro.org> Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/omap-headsmp.S')
-rw-r--r--arch/arm/mach-omap2/omap-headsmp.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/omap-headsmp.S b/arch/arm/mach-omap2/omap-headsmp.S
index 6ae937a06cc..4ee6aeca885 100644
--- a/arch/arm/mach-omap2/omap-headsmp.S
+++ b/arch/arm/mach-omap2/omap-headsmp.S
@@ -45,5 +45,5 @@ hold: ldr r12,=0x103
* should now contain the SVC stack for this core
*/
b secondary_startup
-END(omap_secondary_startup)
+ENDPROC(omap_secondary_startup)