Use arbitrary_virt_to_machine() to deal with ioremapped pmd updates.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
This commit is contained in:
parent
c86d8077b3
commit
f05608d278
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ static void xen_set_pmd_hyper(pmd_t *ptr, pmd_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 = pmd_val_ma(val);
|
||||
xen_extend_mmu_update(&u);
|
||||
|
||||
|
|
Loading…
Reference in a new issue