diff options
author | Mark McLoughlin <markmc@redhat.com> | 2008-04-02 18:36:36 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-04 20:36:48 +0400 |
commit | f64337062c09c2c318fbcbf44ed1d739e8bc72ab (patch) | |
tree | fa0b44044379c5781aba6b3115b038a05e7fa413 /arch/x86/xen/mmu.h | |
parent | 8f59610de2fb244b5bc1a3feafd328a8d4d511d6 (diff) | |
download | linux-f64337062c09c2c318fbcbf44ed1d739e8bc72ab.tar.xz |
xen: refactor xen_{alloc,release}_{pt,pd}()
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Cc: xen-devel@lists.xensource.com
Cc: Mark McLoughlin <markmc@redhat.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/xen/mmu.h')
-rw-r--r-- | arch/x86/xen/mmu.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/xen/mmu.h b/arch/x86/xen/mmu.h index c9ff27f3ac3a..b5e189b1519d 100644 --- a/arch/x86/xen/mmu.h +++ b/arch/x86/xen/mmu.h @@ -3,6 +3,13 @@ #include <linux/linkage.h> #include <asm/page.h> +enum pt_level { + PT_PGD, + PT_PUD, + PT_PMD, + PT_PTE +}; + /* * Page-directory addresses above 4GB do not fit into architectural %cr3. * When accessing %cr3, or equivalent field in vcpu_guest_context, guests |