Use arbitrary_virt_to_machine() to deal with ioremapped pud updates.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
This commit is contained in:
Jeremy Fitzhardinge 2011-04-06 16:43:33 -07:00
parent f05608d278
commit 2a001f6482

View file

@ -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);