aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2011-03-24 14:26:51 +0000
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2011-05-20 14:26:39 -0700
commitf05608d278633988db39058a8649fe90e30e6194 (patch)
treee81375eb5f43190938ccb03f208cebbd83552611 /arch
parentc86d8077b3ec048e42e26372b02dae26b38b0d6b (diff)
downloadkernel_samsung_espresso10-f05608d278633988db39058a8649fe90e30e6194.zip
kernel_samsung_espresso10-f05608d278633988db39058a8649fe90e30e6194.tar.gz
kernel_samsung_espresso10-f05608d278633988db39058a8649fe90e30e6194.tar.bz2
Use arbitrary_virt_to_machine() to deal with ioremapped pmd updates.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/xen/mmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c
index eb6d83a..c03101e 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)
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);