diff options
author | Dmitry Artamonow <mad_soft@inbox.ru> | 2009-09-29 06:12:37 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-10-01 16:26:16 +0100 |
commit | 6176d39471943a2e574782cbf62deded19b96aa0 (patch) | |
tree | fb67714880532dc5efb756696362c9c379e4a087 /drivers | |
parent | ca6cfa83463d1437895dc7e2e1b197e90dd07610 (diff) |
ARM: 5734/1: arm: fix compilation of entry-common.S for older CPUs
Commit 181f817eaaca4c1f introduced some new code to entry-common.S
Sadly, this new code uses 'bx' instruction which is available only on
ARMv5 and higher CPUs. This causes following compilation errors when
building kernel for StrongARM (ARMv4):
arch/arm/kernel/entry-common.S: Assembler messages:
arch/arm/kernel/entry-common.S:129: Error: selected processor does not
support `bx ip'
arch/arm/kernel/entry-common.S:138: Error: selected processor does not
support `bx ip'
Fix these errors by using 'mov pc' instead of 'bx'.
Signed-off-by: Dmitry Artamonow <mad_soft@inbox.ru>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions