Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e3dc192a authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Amit Pundir
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 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: 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 483367fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment