Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: 7170/2: fix compilation breakage in entry-armv.S

Fix compilation failure, when Thumb support is not enabled:

arch/arm/kernel/entry-armv.S: Assembler messages:
arch/arm/kernel/entry-armv.S:501: Error: backward ref to unknown label "2:"
arch/arm/kernel/entry-armv.S:502: Error: backward ref to unknown label "3:"
make[2]: *** [arch/arm/kernel/entry-armv.o] Error 1

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Reviewed-by: Dave Martin <dave.martin@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by

Guennadi Liakhovetski and committed by
Russell King
c89cefed 41dfaa93

+1 -1
+1 -1
arch/arm/kernel/entry-armv.S
··· 497 497 .popsection 498 498 .pushsection __ex_table,"a" 499 499 .long 1b, 4b 500 - #if __LINUX_ARM_ARCH__ >= 7 500 + #if CONFIG_ARM_THUMB && __LINUX_ARM_ARCH__ >= 6 && CONFIG_CPU_V7 501 501 .long 2b, 4b 502 502 .long 3b, 4b 503 503 #endif