diff options
author | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2011-03-24 10:26:51 -0400 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2011-05-20 17:26:39 -0400 |
commit | f05608d278633988db39058a8649fe90e30e6194 (patch) | |
tree | e81375eb5f43190938ccb03f208cebbd83552611 /arch/x86/xen/mmu.c | |
parent | c86d8077b3ec048e42e26372b02dae26b38b0d6b (diff) |
Use arbitrary_virt_to_machine() to deal with ioremapped pmd updates.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'arch/x86/xen/mmu.c')
-rw-r--r-- | arch/x86/xen/mmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c index eb6d83a458c..c03101e4742 100644 --- a/arch/x86/xen/mmu.c +++ b/arch/x86/xen/mmu.c | |||
@@ -233,7 +233,7 @@ static void xen_set_pmd_hyper(pmd_t *ptr, pmd_t val) | |||
233 | xen_mc_batch(); | 233 | xen_mc_batch(); |
234 | 234 | ||
235 | /* ptr may be ioremapped for 64-bit pagetable setup */ | 235 | /* ptr may be ioremapped for 64-bit pagetable setup */ |
236 | u.ptr = virt_to_machine(ptr).maddr; | 236 | u.ptr = arbitrary_virt_to_machine(ptr).maddr; |
237 | u.val = pmd_val_ma(val); | 237 | u.val = pmd_val_ma(val); |
238 | xen_extend_mmu_update(&u); | 238 | xen_extend_mmu_update(&u); |
239 | 239 | ||