mirror of
https://github.com/torvalds/linux
synced 2024-09-29 07:50:45 +00:00
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>
This commit is contained in:
parent
3ef52f2a00
commit
794fe85da4
|
@ -58,7 +58,7 @@ ENTRY(v4_flush_kern_cache_all)
|
||||||
ENTRY(v4_flush_user_cache_range)
|
ENTRY(v4_flush_user_cache_range)
|
||||||
#ifdef CONFIG_CPU_CP15
|
#ifdef CONFIG_CPU_CP15
|
||||||
mov ip, #0
|
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
|
mov pc, lr
|
||||||
#else
|
#else
|
||||||
/* FALLTHROUGH */
|
/* FALLTHROUGH */
|
||||||
|
|
Loading…
Reference in a new issue