summaryrefslogtreecommitdiffstats
path: root/arch/arc/mm/tlb.c
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2013-05-09 15:10:18 +0530
committerVineet Gupta <vgupta@synopsys.com>2013-05-09 21:53:16 +0530
commit6ec18a81b22ab2b40df8424f2b5fc6be20ccad87 (patch)
tree974447f69a0a4b10dc0f1f7ff81440539761b4dc /arch/arc/mm/tlb.c
parenta690984d60abcb627ce1bcc0300a14043b5e224a (diff)
downloadop-kernel-dev-6ec18a81b22ab2b40df8424f2b5fc6be20ccad87.zip
op-kernel-dev-6ec18a81b22ab2b40df8424f2b5fc6be20ccad87.tar.gz
ARC: [mm] Aliasing VIPT dcache support 1/4
This preps the low level dcache flush helpers to take vaddr argument in addition to the existing paddr to properly flush the VIPT dcache Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/mm/tlb.c')
-rw-r--r--arch/arc/mm/tlb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/mm/tlb.c b/arch/arc/mm/tlb.c
index 003d69a..5810c7a 100644
--- a/arch/arc/mm/tlb.c
+++ b/arch/arc/mm/tlb.c
@@ -438,7 +438,7 @@ void update_mmu_cache(struct vm_area_struct *vma, unsigned long vaddr_unaligned,
int dirty = test_and_clear_bit(PG_arch_1, &page->flags);
if (dirty) {
unsigned long paddr = pte_val(*ptep) & PAGE_MASK;
- __flush_dcache_page(paddr);
+ __flush_dcache_page(paddr, paddr);
__inv_icache_page(paddr, vaddr);
}
}
OpenPOWER on IntegriCloud