diff options
Diffstat (limited to 'arch/x86/xen/enlighten.c')
-rw-r--r-- | arch/x86/xen/enlighten.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 194bbd6e3241..9ff6e3cbf08f 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c | |||
@@ -1435,7 +1435,7 @@ static unsigned long m2p(phys_addr_t maddr) | |||
1435 | { | 1435 | { |
1436 | phys_addr_t paddr; | 1436 | phys_addr_t paddr; |
1437 | 1437 | ||
1438 | maddr &= PTE_MASK; | 1438 | maddr &= PTE_PFN_MASK; |
1439 | paddr = mfn_to_pfn(maddr >> PAGE_SHIFT) << PAGE_SHIFT; | 1439 | paddr = mfn_to_pfn(maddr >> PAGE_SHIFT) << PAGE_SHIFT; |
1440 | 1440 | ||
1441 | return paddr; | 1441 | return paddr; |