[PATCH] arm: lib/delay-loop.S: remove unnecessary ARMv4 selection for ARCH_RPC
Ethan Nelson-Moore
enelsonmoore at gmail.com
Sat May 9 19:46:01 PDT 2026
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 at 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
More information about the linux-arm-kernel
mailing list