summaryrefslogtreecommitdiffstats
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
parentf05608d278633988db39058a8649fe90e30e6194 (diff)
downloadop-kernel-dev-2a001f6482643239b8a069df5c2bdb2082c98be4.zip
op-kernel-dev-2a001f6482643239b8a069df5c2bdb2082c98be4.tar.gz
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 c03101e..083b835 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);
OpenPOWER on IntegriCloud