Skip to content

Commit

Permalink
Use arbitrary_virt_to_machine() to deal with ioremapped pud updates.
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
  • Loading branch information
Jeremy Fitzhardinge committed May 20, 2011
1 parent f05608d commit 2a001f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/xen/mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 2a001f6

Please sign in to comment.