aboutsummaryrefslogtreecommitdiffstats
path: root/arch
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
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')
-rw-r--r--arch/x86/include/asm/lguest_hcall.h2
-rw-r--r--arch/x86/lguest/boot.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/include/asm/lguest_hcall.h b/arch/x86/include/asm/lguest_hcall.h
index f9a9f7811248..05b9c198e4ba 100644
--- a/arch/x86/include/asm/lguest_hcall.h
+++ b/arch/x86/include/asm/lguest_hcall.h
@@ -13,7 +13,7 @@
13#define LHCALL_SET_CLOCKEVENT 9 13#define LHCALL_SET_CLOCKEVENT 9
14#define LHCALL_HALT 10 14#define LHCALL_HALT 10
15#define LHCALL_SET_PTE 14 15#define LHCALL_SET_PTE 14
16#define LHCALL_SET_PMD 15 16#define LHCALL_SET_PGD 15
17#define LHCALL_LOAD_TLS 16 17#define LHCALL_LOAD_TLS 16
18#define LHCALL_NOTIFY 17 18#define LHCALL_NOTIFY 17
19#define LHCALL_LOAD_GDT_ENTRY 18 19#define LHCALL_LOAD_GDT_ENTRY 18
diff --git a/arch/x86/lguest/boot.c b/arch/x86/lguest/boot.c
index 4f311e40d0aa..943a75ef70b9 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