ARM: omap4: Convert END() to ENDPROC() for correct linkage with CONFIG_THUMB2_KERNEL
authorDave Martin <dave.martin@linaro.org>
Fri, 4 Mar 2011 15:33:54 +0000 (15:33 +0000)
committerKevin Hilman <khilman@ti.com>
Thu, 10 Mar 2011 00:38:36 +0000 (16:38 -0800)
commitf96bdfa0d036393741fce303ea98abb44452d042
tree0c199fcb7263ce4b67d7ee0e4ea510149d16f38c
parent85243a762457f7891ae525df39ad44323b3eeea6
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>
arch/arm/mach-omap2/omap-headsmp.S
arch/arm/mach-omap2/omap44xx-smc.S