From: Ethan Nelson-Moore <enelsonmoore@gmail.com>
To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org
Cc: Russell King <linux@armlinux.org.uk>,
Ethan Nelson-Moore <enelsonmoore@gmail.com>
Subject: [PATCH] arm: lib/delay-loop.S: remove unnecessary ARMv4 selection for ARCH_RPC
Date: Sat, 9 May 2026 19:46:01 -0700 [thread overview]
Message-ID: <20260510024603.193126-1-enelsonmoore@gmail.com> (raw)
This was done because Risc PC kernels were compiled as ARMv3, which
does not support long multiply instructions used in this file, to work
around the fact that the Risc PC's bus does not handle half-word
accesses. However, Risc PC kernels were changed to compile as ARMv3M
(ARMv3 with long multiply) in commit 8403bcb779a0 ("ARM: 8801/1:
makefile: use ARMv3M mode for RiscPC"), so selecting ARMv4 for this
file is no longer necessary. Drop this unnecessary code.
Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
---
arch/arm/lib/delay-loop.S | 4 ----
1 file changed, 4 deletions(-)
diff --git a/arch/arm/lib/delay-loop.S b/arch/arm/lib/delay-loop.S
index 33b08ca1c242..56f9eea56268 100644
--- a/arch/arm/lib/delay-loop.S
+++ b/arch/arm/lib/delay-loop.S
@@ -9,10 +9,6 @@
#include <asm/assembler.h>
#include <asm/delay.h>
-#ifdef CONFIG_ARCH_RPC
- .arch armv4
-#endif
-
.text
.LC0: .word loops_per_jiffy
--
2.43.0
reply other threads:[~2026-05-10 2:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20260510024603.193126-1-enelsonmoore@gmail.com \
--to=enelsonmoore@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
/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