aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/lguest
diff options
context:
space:
mode:
authorMatias Zabaljauregui <zabaljauregui@gmail.com>2009-05-30 14:48:08 -0400
committerRusty Russell <rusty@rustcorp.com.au>2009-06-12 08:57:07 -0400
commitebe0ba84f55950a89cb7af94c7ffc35ee3992f9e (patch)
treedf1c3373274846b4998ea75c56f347a264b2c8ad /arch/x86/lguest
parent90603d15fa95605d1d08235b73e220d766f04bb0 (diff)
lguest: replace hypercall name LHCALL_SET_PMD with LHCALL_SET_PGD
replace LHCALL_SET_PMD with LHCALL_SET_PGD hypercall name (That's really what it is, and the confusion gets worse with PAE support) Signed-off-by: Matias Zabaljauregui <zabaljauregui@gmail.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Reported-by: Jeremy Fitzhardinge <jeremy@goop.org>
Diffstat (limited to 'arch/x86/lguest')
-rw-r--r--arch/x86/lguest/boot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/lguest/boot.c b/arch/x86/lguest/boot.c
index 4f311e40d0a..943a75ef70b 100644
--- a/arch/x86/lguest/boot.c
+++ b/arch/x86/lguest/boot.c
@@ -535,7 +535,7 @@ static void lguest_set_pte_at(struct mm_struct *mm, unsigned long addr,
535static void lguest_set_pmd(pmd_t *pmdp, pmd_t pmdval) 535static void lguest_set_pmd(pmd_t *pmdp, pmd_t pmdval)
536{ 536{
537 native_set_pmd(pmdp, pmdval); 537 native_set_pmd(pmdp, pmdval);
538 lazy_hcall2(LHCALL_SET_PMD, __pa(pmdp) & PAGE_MASK, 538 lazy_hcall2(LHCALL_SET_PGD, __pa(pmdp) & PAGE_MASK,
539 (__pa(pmdp) & (PAGE_SIZE - 1)) / sizeof(pmd_t)); 539 (__pa(pmdp) & (PAGE_SIZE - 1)) / sizeof(pmd_t));
540} 540}
541 541