diff options
author | Arnd Bergmann <arnd@arndb.de> | 2022-12-15 17:25:14 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2022-12-19 16:46:32 +0100 |
commit | 4b88615950fc805690b92b46c8ab794beb4bd6aa (patch) | |
tree | 119d07e702005d5f780e0b459016be01ecc8fc55 /arch/arm/Kconfig | |
parent | 4c03c4188cfb831e4ac093599192aedd60625a45 (diff) |
ARM: pxa: fix building with clang
The integrated assembler in clang does not understand the xscale
specific mra/mar instructions:
arch/arm/mach-pxa/pxa27x.c:136:15: error: unsupported architectural extension: xscale
asm volatile(".arch_extension xscale\n\t"
arch/arm/mach-pxa/pxa27x.c:136:40: error: invalid instruction, did you mean: mcr, mla, mrc, mrs, msr?
mra r2, r3, acc0
Since these are coprocessor features, the same can be expressed using
mrrc/mcrr, so use that for builds with IAS.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20221215162529.3659187-1-arnd@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/Kconfig')
0 files changed, 0 insertions, 0 deletions