commit | 2a001f6482643239b8a069df5c2bdb2082c98be4 | [log] [tgz] |
---|---|---|
author | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | Wed Apr 06 16:43:33 2011 -0700 |
committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | Fri May 20 14:26:40 2011 -0700 |
tree | 3e20a4f84c1f38957496eb93b1d8859789705b37 | |
parent | f05608d278633988db39058a8649fe90e30e6194 [diff] |
Use arbitrary_virt_to_machine() to deal with ioremapped pud updates. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c index c03101e..083b835 100644 --- a/arch/x86/xen/mmu.c +++ b/arch/x86/xen/mmu.c
@@ -518,7 +518,7 @@ 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);