mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
28 lines
787 B
Diff
28 lines
787 B
Diff
|
From b8b90753b5c70bfe57c460305e30992e027d0d7a Mon Sep 17 00:00:00 2001
|
||
|
From: Phil Elwell <phil@raspberrypi.com>
|
||
|
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 <phil@raspberrypi.com>
|
||
|
---
|
||
|
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)
|