Commit 4ffbcde0 authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Greg Kroah-Hartman
Browse files

ARM: 8285/1: remove ARMv3 user access code again

This code was restored with commit 080fc66f ("ARM: Bring back ARMv3 IO
and user access code") because the RiscPC memory bus does not understand
half-word load/stores.  However only the IO code needed restoring since
the alternative user access code contains no half-word accesses, is
already used when CONFIG_PREEMPT is set and runs faster on a StrongARM.

[Arnd: The backport of upstream commit 3fba7e23 ("ARM: uaccess: provide
uaccess_save_and_enable() and uaccess_restore()") relied on c2563038
("ARM: 8285/1: remove ARMv3 user access code again"), without that, we
get link failures in rpc_defconfig].

Cc: https://kernelci.org/build/id/591063fe59b514cadbb12d54/logs/


Fixes: 3552a17a ("BACKPORT: ARM: uaccess: provide uaccess_save_and_enable() and uaccess_restore()")
Signed-off-by: default avatarNicolas Pitre <nico@linaro.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent b4795b80
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment