summaryrefslogtreecommitdiff
path: root/arch/arm/mm
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2013-01-22 23:11:38 +0400
committerWill Deacon <will.deacon@arm.com>2013-03-26 13:55:34 +0400
commit794fe85da484353dedcb5dc6da14d923d0645fc3 (patch)
tree1ff3789f25c67e71815afb731e1c5501e622a78c /arch/arm/mm
parent3ef52f2a00efc5f83ae6d40e55cae96ce275893f (diff)
downloadlinux-794fe85da484353dedcb5dc6da14d923d0645fc3.tar.xz
ARM: mm: remove broken condition check for v4 flushing
There's no point having a conditional cache flush if we don't know the state of the condition beforehand. This patch makes the cacheflush in v4_flush_user_cache_range unconditional. signed-off-by: will deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm/mm')
-rw-r--r--arch/arm/mm/cache-v4.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mm/cache-v4.S b/arch/arm/mm/cache-v4.S
index 43e5d77be677..a7ba68f59f0c 100644
--- a/arch/arm/mm/cache-v4.S
+++ b/arch/arm/mm/cache-v4.S
@@ -58,7 +58,7 @@ ENTRY(v4_flush_kern_cache_all)
ENTRY(v4_flush_user_cache_range)
#ifdef CONFIG_CPU_CP15
mov ip, #0
- mcreq p15, 0, ip, c7, c7, 0 @ flush ID cache
+ mcr p15, 0, ip, c7, c7, 0 @ flush ID cache
mov pc, lr
#else
/* FALLTHROUGH */