Skip to content
Snippets Groups Projects
Commit a95800e8 authored by Paul Burton's avatar Paul Burton Committed by Daniel Schwierzeck
Browse files

MIPS: Fix invalidate_dcache_range to operate on L1 Dcache


Commit fb64cda5 ("MIPS: Abstract cache op loops with a macro")
accidentally modified invalidate_dcache_range to operate on the L1
Icache instead of the Dcache. Fix the cache op used to operate on the
Dcache.

Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
Fixes: fb64cda5 ("MIPS: Abstract cache op loops with a macro")
parent 6b3943f1
No related branches found
No related tags found
No related merge requests found
......@@ -91,5 +91,5 @@ void invalidate_dcache_range(ulong start_addr, ulong stop)
if (start_addr == stop)
return;
cache_loop(start_addr, stop, lsize, HIT_INVALIDATE_I);
cache_loop(start_addr, stop, lsize, HIT_INVALIDATE_D);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment