diff options
author | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-02-13 11:01:54 -0800 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-02-13 11:35:01 -0800 |
commit | 9b3651cbc26cfcea8276ecaff66718ea087f2e91 (patch) | |
tree | ad5653060f1a0ea1981537cfa01719892ac14341 /arch/x86/include/asm/pgtable_64_types.h | |
parent | 0341c14da49e7b93d2998926f6ac89a3129e3fa1 (diff) | |
download | linux-stable-9b3651cbc26cfcea8276ecaff66718ea087f2e91.tar.gz linux-stable-9b3651cbc26cfcea8276ecaff66718ea087f2e91.tar.bz2 linux-stable-9b3651cbc26cfcea8276ecaff66718ea087f2e91.zip |
x86: move more pagetable-related definitions into pgtable*.h
PAGETABLE_LEVELS and the PTE masks should be in pgtable*.h
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'arch/x86/include/asm/pgtable_64_types.h')
-rw-r--r-- | arch/x86/include/asm/pgtable_64_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/pgtable_64_types.h b/arch/x86/include/asm/pgtable_64_types.h index 2f59135c6f2a..fbf42b8e0383 100644 --- a/arch/x86/include/asm/pgtable_64_types.h +++ b/arch/x86/include/asm/pgtable_64_types.h @@ -18,6 +18,7 @@ typedef struct { pteval_t pte; } pte_t; #endif /* !__ASSEMBLY__ */ #define SHARED_KERNEL_PMD 0 +#define PAGETABLE_LEVELS 4 /* * PGDIR_SHIFT determines what a top-level page table entry can map |