Skip to contentSkip to conversation

ARM: remove check for CONFIG_CPU_ICACHE_STREAMING_DISABLE

PATCH New Paul Bolle 1 participant 1 message May 16, 2014 Arm (32-bit)

lore
Share & tools
lore

Paul Bolle

author
#0 lore raw

PATCH 1/1 ARM: remove check for CONFIG_CPU_ICACHE_STREAMING_DISABLE

A check for CONFIG_CPU_ICACHE_STREAMING_DISABLE was added in v2.6.4. But the related Kconfig symbol was never added to the tree. So that check has evaluated to false for a decade. Let's remove that check and the single line it guards.

---
Untested.

 arch/arm/mm/proc-arm925.S | 3 ---
 1 file changed, 3 deletions(-)
arch/arm/mm/proc-arm925.S +0 -3
index 97448c3acf38..3c31f32153ad 100644
@@ -441,9 +441,6 @@ ENTRY(cpu_arm925_set_pte_ext)
 	.type	__arm925_setup, #function
 __arm925_setup:
 	mov	r0, #0
-#if defined(CONFIG_CPU_ICACHE_STREAMING_DISABLE)
-        orr     r0,r0,#1 << 7
-#endif
 
 	/* Transparent on, D-cache clean & flush mode. See  NOTE2 above */
         orr     r0,r0,#1 << 1			@ transparent mode on
Signature · 1 line
1.9.0