Skip to content

Commit c89cefe

Browse files
lyakhRussell King
authored andcommitted
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 <[email protected]> Reviewed-by: Dave Martin <[email protected]> Signed-off-by: Russell King <[email protected]>
1 parent 41dfaa9 commit c89cefe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/kernel/entry-armv.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ ENDPROC(__und_usr)
497497
.popsection
498498
.pushsection __ex_table,"a"
499499
.long 1b, 4b
500-
#if __LINUX_ARM_ARCH__ >= 7
500+
#if CONFIG_ARM_THUMB && __LINUX_ARM_ARCH__ >= 6 && CONFIG_CPU_V7
501501
.long 2b, 4b
502502
.long 3b, 4b
503503
#endif

0 commit comments

Comments
 (0)