summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/omap-headsmp.S
diff options
context:
space:
mode:
authorDave Martin <dave.martin@linaro.org>2011-03-04 16:33:54 +0100
committerKevin Hilman <khilman@ti.com>2011-03-10 01:38:36 +0100
commitf96bdfa0d036393741fce303ea98abb44452d042 (patch)
tree0c199fcb7263ce4b67d7ee0e4ea510149d16f38c /arch/arm/mach-omap2/omap-headsmp.S
parentARM: omap4: Provide do_wfi() for Thumb-2 (diff)
downloadlinux-f96bdfa0d036393741fce303ea98abb44452d042.tar.xz
linux-f96bdfa0d036393741fce303ea98abb44452d042.zip
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 6ae937a06cc1..4ee6aeca885a 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)