]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-x86/xen/page.h
x86: rename PTE_MASK to PTE_PFN_MASK
[linux-2.6-omap-h63xx.git] / include / asm-x86 / xen / page.h
index 05e678a86628b5a7c53563f766eeb57652ed4014..7b3835d3b77d9b910228fc0362b19747eb441e26 100644 (file)
@@ -124,7 +124,7 @@ static inline unsigned long mfn_to_local_pfn(unsigned long mfn)
 
 static inline unsigned long pte_mfn(pte_t pte)
 {
-       return (pte.pte & PTE_MASK) >> PAGE_SHIFT;
+       return (pte.pte & PTE_PFN_MASK) >> PAGE_SHIFT;
 }
 
 static inline pte_t mfn_pte(unsigned long page_nr, pgprot_t pgprot)