Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm: lib/delay-loop.S: remove unnecessary ARMv4 selection for ARCH_RPC
@ 2026-05-10  2:46 Ethan Nelson-Moore
  0 siblings, 0 replies; only message in thread
From: Ethan Nelson-Moore @ 2026-05-10  2:46 UTC (permalink / raw)
  To: linux-arm-kernel, linux-kernel; +Cc: Russell King, Ethan Nelson-Moore

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



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-10  2:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-10  2:46 [PATCH] arm: lib/delay-loop.S: remove unnecessary ARMv4 selection for ARCH_RPC Ethan Nelson-Moore

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox