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 3fba7e23f754 ("ARM: uaccess: provide uaccess_save_and_enable() and uaccess_restore()") relied on c25630381c6e ("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:Nicolas Pitre <nico@linaro.org> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by:
Arnd Bergmann <arnd@arndb.de> Signed-off-by:
Greg Kroah-Hartman <gregkh@google.com>
Loading
Please register or sign in to comment