diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-07-09 00:06:38 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-16 10:57:16 +0200 |
commit | f6e587325b3bc7e5c829a407ddc25b52c1e73851 (patch) | |
tree | bc525b9bf2967491593b89bf022888102dfff57e /include | |
parent | xen64: fix calls into hypercall page (diff) | |
download | linux-f6e587325b3bc7e5c829a407ddc25b52c1e73851.tar.xz linux-f6e587325b3bc7e5c829a407ddc25b52c1e73851.zip |
xen64: add extra pv_mmu_ops
We need extra pv_mmu_ops for 64-bit, to deal with the extra level of
pagetable.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Stephen Tweedie <sct@redhat.com>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-x86/xen/page.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-x86/xen/page.h b/include/asm-x86/xen/page.h index 377c04591c15..a40be65e8eae 100644 --- a/include/asm-x86/xen/page.h +++ b/include/asm-x86/xen/page.h @@ -148,7 +148,11 @@ static inline pte_t __pte_ma(pteval_t x) } #define pmd_val_ma(v) ((v).pmd) +#ifdef __PAGETABLE_PUD_FOLDED #define pud_val_ma(v) ((v).pgd.pgd) +#else +#define pud_val_ma(v) ((v).pud) +#endif #define __pmd_ma(x) ((pmd_t) { (x) } ) #define pgd_val_ma(x) ((x).pgd) |