]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/x86/mm/pageattr.c
Merge commit 'origin/master' into for-linus/xen/master
[net-next-2.6.git] / arch / x86 / mm / pageattr.c
index d71e1b636ce69167515c0a6bd3b47d3807b49175..660cac75ae11e489e2d443bee8d9a78d37eb8178 100644 (file)
@@ -844,13 +844,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.pages = pages;
        cpa.numpages = numpages;
@@ -895,13 +888,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;
 }