summaryrefslogtreecommitdiffstats
path: root/arch/x86/xen
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2011-04-06 16:43:33 -0700
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2011-05-20 14:26:40 -0700
commit2a001f6482643239b8a069df5c2bdb2082c98be4 (patch)
tree3e20a4f84c1f38957496eb93b1d8859789705b37 /arch/x86/xen
parentf05608d278633988db39058a8649fe90e30e6194 (diff)
Use arbitrary_virt_to_machine() to deal with ioremapped pud updates.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'arch/x86/xen')
-rw-r--r--arch/x86/xen/mmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c
index c03101e4742..083b835d2dd 100644
--- a/arch/x86/xen/mmu.c
+++ b/arch/x86/xen/mmu.c
@@ -518,7 +518,7 @@ static void xen_set_pud_hyper(pud_t *ptr, pud_t val)
xen_mc_batch();
/* ptr may be ioremapped for 64-bit pagetable setup */
- u.ptr = virt_to_machine(ptr).maddr;
+ u.ptr = arbitrary_virt_to_machine(ptr).maddr;
u.val = pud_val_ma(val);
xen_extend_mmu_update(&u);