aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze/mm/consistent.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze/mm/consistent.c')
-rw-r--r--arch/microblaze/mm/consistent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/microblaze/mm/consistent.c b/arch/microblaze/mm/consistent.c
index 713431caf592..5a59dad62bd2 100644
--- a/arch/microblaze/mm/consistent.c
+++ b/arch/microblaze/mm/consistent.c
@@ -229,7 +229,7 @@ void consistent_sync(void *vaddr, size_t size, int direction)
229 case PCI_DMA_NONE: 229 case PCI_DMA_NONE:
230 BUG(); 230 BUG();
231 case PCI_DMA_FROMDEVICE: /* invalidate only */ 231 case PCI_DMA_FROMDEVICE: /* invalidate only */
232 flush_dcache_range(start, end); 232 invalidate_dcache_range(start, end);
233 break; 233 break;
234 case PCI_DMA_TODEVICE: /* writeback only */ 234 case PCI_DMA_TODEVICE: /* writeback only */
235 flush_dcache_range(start, end); 235 flush_dcache_range(start, end);