Skip to contentSkip to conversation

arm: lib/delay-loop.S: remove unnecessary ARMv4 selection for ARCH_RPC

PATCH New Ethan Nelson-Moore 1 participant 1 message May 10 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: lib/delay-loop.S: remove unnecessary ARMv4 selection for ARCH_RPC

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.

---
 arch/arm/lib/delay-loop.S | 4 ----
 1 file changed, 4 deletions(-)
arch/arm/lib/delay-loop.S +0 -4
index 33b08ca1c242..56f9eea56268 100644
@@ -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
Signature · 1 line
2.43.0