Commit 2a001f64 authored by Jeremy Fitzhardinge's avatar Jeremy Fitzhardinge

Use arbitrary_virt_to_machine() to deal with ioremapped pud updates.

Signed-off-by: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
parent f05608d2
...@@ -518,7 +518,7 @@ static void xen_set_pud_hyper(pud_t *ptr, pud_t val) ...@@ -518,7 +518,7 @@ static void xen_set_pud_hyper(pud_t *ptr, pud_t val)
xen_mc_batch(); xen_mc_batch();
/* ptr may be ioremapped for 64-bit pagetable setup */ /* 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); u.val = pud_val_ma(val);
xen_extend_mmu_update(&u); xen_extend_mmu_update(&u);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment