aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/xen/enlighten.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/xen/enlighten.c')
-rw-r--r--arch/x86/xen/enlighten.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c
index 04ec69e4d02e..53afa14eb314 100644
--- a/arch/x86/xen/enlighten.c
+++ b/arch/x86/xen/enlighten.c
@@ -822,7 +822,7 @@ static void xen_alloc_ptpage(struct mm_struct *mm, u32 pfn, unsigned level)
822 SetPagePinned(page); 822 SetPagePinned(page);
823 823
824 if (!PageHighMem(page)) { 824 if (!PageHighMem(page)) {
825 make_lowmem_page_readonly(__va(PFN_PHYS(pfn))); 825 make_lowmem_page_readonly(__va(PFN_PHYS((unsigned long)pfn)));
826 if (level == PT_PTE) 826 if (level == PT_PTE)
827 pin_pagetable_pfn(MMUEXT_PIN_L1_TABLE, pfn); 827 pin_pagetable_pfn(MMUEXT_PIN_L1_TABLE, pfn);
828 } else 828 } else