aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/mm/c-r4k.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c
index c91b59680695..06074948450d 100644
--- a/arch/mips/mm/c-r4k.c
+++ b/arch/mips/mm/c-r4k.c
@@ -589,7 +589,7 @@ static void r4k_dma_cache_inv(unsigned long addr, unsigned long size)
589 if (size >= scache_size) 589 if (size >= scache_size)
590 r4k_blast_scache(); 590 r4k_blast_scache();
591 else 591 else
592 blast_scache_range(addr, addr + size); 592 blast_inv_scache_range(addr, addr + size);
593 return; 593 return;
594 } 594 }
595 595
@@ -597,7 +597,7 @@ static void r4k_dma_cache_inv(unsigned long addr, unsigned long size)
597 r4k_blast_dcache(); 597 r4k_blast_dcache();
598 } else { 598 } else {
599 R4600_HIT_CACHEOP_WAR_IMPL; 599 R4600_HIT_CACHEOP_WAR_IMPL;
600 blast_dcache_range(addr, addr + size); 600 blast_inv_dcache_range(addr, addr + size);
601 } 601 }
602 602
603 bc_inv(addr, size); 603 bc_inv(addr, size);