]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/xen/mmu.c
xen: mask unwanted pte bits in __supported_pte_mask
[linux-2.6-omap-h63xx.git] / arch / x86 / xen / mmu.c
index 3525ef523a74c6e102954a36ab7763a40f3de444..3f2a67fe6ad6b4a1be5958d7d5df4914e15c71f6 100644 (file)
@@ -199,10 +199,8 @@ pgdval_t xen_pgd_val(pgd_t pgd)
 
 pte_t xen_make_pte(pteval_t pte)
 {
-       if (pte & _PAGE_PRESENT) {
+       if (pte & _PAGE_PRESENT)
                pte = phys_to_machine(XPADDR(pte)).maddr;
-               pte &= ~(_PAGE_PCD | _PAGE_PWT);
-       }
 
        return (pte_t){ .pte = pte };
 }