|
@@ -824,13 +824,6 @@ static int change_page_attr_set_clr(unsigned long *addr, int numpages,
|
|
|
|
|
|
vm_unmap_aliases();
|
|
|
|
|
|
- /*
|
|
|
- * If we're called with lazy mmu updates enabled, the
|
|
|
- * in-memory pte state may be stale. Flush pending updates to
|
|
|
- * bring them up to date.
|
|
|
- */
|
|
|
- arch_flush_lazy_mmu_mode();
|
|
|
-
|
|
|
cpa.vaddr = addr;
|
|
|
cpa.numpages = numpages;
|
|
|
cpa.mask_set = mask_set;
|
|
@@ -873,13 +866,6 @@ static int change_page_attr_set_clr(unsigned long *addr, int numpages,
|
|
|
} else
|
|
|
cpa_flush_all(cache);
|
|
|
|
|
|
- /*
|
|
|
- * If we've been called with lazy mmu updates enabled, then
|
|
|
- * make sure that everything gets flushed out before we
|
|
|
- * return.
|
|
|
- */
|
|
|
- arch_flush_lazy_mmu_mode();
|
|
|
-
|
|
|
out:
|
|
|
return ret;
|
|
|
}
|