ARM: PXA: fix multi-cpu build of xsc3
authorArnd Bergmann <arnd@arndb.de>
Mon, 4 Apr 2022 21:38:28 +0000 (23:38 +0200)
committerArnd Bergmann <arnd@arndb.de>
Sat, 7 May 2022 20:56:16 +0000 (22:56 +0200)
commitc8a91428941b912d66e13a2719fe6ac670150d69
tree38a521a793f0676277f43f23937b5fe785d07dea
parent64dbc4dd7a7cc6642c522963a6194b62480e2a68
ARM: PXA: fix multi-cpu build of xsc3

On a kernel that includes both ARMv4 and XScale support,
the copypage function fails to build with invalid
instructions.

Since these are only called on an actual XScale processor,
annotate the assembly with the correct .arch directive.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mm/copypage-xsc3.c