From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 1/3] ARM: drop unused mmiocpy/mmioset symbols
Date: Tue, 22 Apr 2025 09:57:12 +0200 [thread overview]
Message-ID: <20250422075714.221527-1-a.fatoum@pengutronix.de> (raw)
From: Ahmad Fatoum <a.fatoum@barebox.org>
These are unused and we have memcpy_toio/fromio and memset_io
functions that should be used instead.
Signed-off-by: Ahmad Fatoum <a.fatoum@barebox.org>
---
arch/arm/lib32/memcpy.S | 2 --
arch/arm/lib32/memset.S | 2 --
2 files changed, 4 deletions(-)
diff --git a/arch/arm/lib32/memcpy.S b/arch/arm/lib32/memcpy.S
index 90f2b645aa0d..ffa4c8f394bf 100644
--- a/arch/arm/lib32/memcpy.S
+++ b/arch/arm/lib32/memcpy.S
@@ -56,11 +56,9 @@ UNWIND( .save {r0, \regs} )
/* Prototype: void *memcpy(void *dest, const void *src, size_t n); */
ENTRY(__memcpy)
-ENTRY(mmiocpy)
WEAK(memcpy)
#include "copy_template.S"
ENDPROC(memcpy)
-ENDPROC(mmiocpy)
ENDPROC(__memcpy)
diff --git a/arch/arm/lib32/memset.S b/arch/arm/lib32/memset.S
index de75ae4d5ab4..b0c0e11e991b 100644
--- a/arch/arm/lib32/memset.S
+++ b/arch/arm/lib32/memset.S
@@ -14,7 +14,6 @@
.align 5
ENTRY(__memset)
-ENTRY(mmioset)
WEAK(memset)
UNWIND( .fnstart )
and r1, r1, #255 @ cast to unsigned char
@@ -132,7 +131,6 @@ UNWIND( .fnstart )
b 1b
UNWIND( .fnend )
ENDPROC(memset)
-ENDPROC(mmioset)
ENDPROC(__memset)
ENTRY(__memset32)
--
2.39.5
next reply other threads:[~2025-04-22 8:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-22 7:57 Ahmad Fatoum [this message]
2025-04-22 7:57 ` [PATCH 2/3] ARM: define position-independent __pi_memmove/memset/memcpy Ahmad Fatoum
2025-04-22 7:57 ` [PATCH 3/3] RISC-V: " Ahmad Fatoum
2025-04-22 8:57 ` [PATCH 1/3] ARM: drop unused mmiocpy/mmioset symbols Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250422075714.221527-1-a.fatoum@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox