aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2011-04-06 19:43:33 -0400
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2011-05-20 17:26:40 -0400
commit2a001f6482643239b8a069df5c2bdb2082c98be4 (patch)
tree3e20a4f84c1f38957496eb93b1d8859789705b37
parentf05608d278633988db39058a8649fe90e30e6194 (diff)
Use arbitrary_virt_to_machine() to deal with ioremapped pud updates.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
-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)
518 xen_mc_batch(); 518 xen_mc_batch();
519 519
520 /* ptr may be ioremapped for 64-bit pagetable setup */ 520 /* ptr may be ioremapped for 64-bit pagetable setup */
521 u.ptr = virt_to_machine(ptr).maddr; 521 u.ptr = arbitrary_virt_to_machine(ptr).maddr;
522 u.val = pud_val_ma(val); 522 u.val = pud_val_ma(val);
523 xen_extend_mmu_update(&u); 523 xen_extend_mmu_update(&u);
524 524