From b8b90753b5c70bfe57c460305e30992e027d0d7a Mon Sep 17 00:00:00 2001 From: Phil Elwell Date: Tue, 11 Apr 2023 08:55:49 +0100 Subject: [PATCH] fixup! Export optimised __memcpy Sinc [1] uaccess_with_memcpy.c uses __memcpy instead of memcpy. Make the optimised memcpy available as __memcpy as well to avoid linkage failures. [1] ceac10c83b33 ("ARM: 9290/1: uaccess: Fix KASAN false-positives") Signed-off-by: Phil Elwell --- arch/arm/lib/memcpy_rpi.S | 2 ++ 1 file changed, 2 insertions(+) --- a/arch/arm/lib/memcpy_rpi.S +++ b/arch/arm/lib/memcpy_rpi.S @@ -58,6 +58,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBI ENTRY(mmiocpy) ENTRY(memcpy) +ENTRY(__memcpy) memcpy 0 +ENDPROC(__memcpy) ENDPROC(memcpy) ENDPROC(mmiocpy)