From: Dmitry Artamonow Date: Tue, 29 Sep 2009 05:12:37 +0000 (+0100) Subject: ARM: 5734/1: arm: fix compilation of entry-common.S for older CPUs X-Git-Tag: v2.6.32-rc3~11^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6176d39471943a2e574782cbf62deded19b96aa0;p=pandora-kernel.git 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 Acked-by: Uwe Kleine-König Signed-off-by: Russell King --- Reading git-diff-tree failed