diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/xen/mmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c index 2579e70cdd08..05d7392a7a4c 100644 --- a/arch/x86/xen/mmu.c +++ b/arch/x86/xen/mmu.c | |||
@@ -186,7 +186,7 @@ xmaddr_t arbitrary_virt_to_machine(unsigned long address) | |||
186 | 186 | ||
187 | BUG_ON(pte == NULL); | 187 | BUG_ON(pte == NULL); |
188 | 188 | ||
189 | return XMADDR((pte_mfn(*pte) << PAGE_SHIFT) + offset); | 189 | return XMADDR(((phys_addr_t)pte_mfn(*pte) << PAGE_SHIFT) + offset); |
190 | } | 190 | } |
191 | 191 | ||
192 | void make_lowmem_page_readonly(void *vaddr) | 192 | void make_lowmem_page_readonly(void *vaddr) |