]>
git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - arch/x86/include/asm/pgtable-2level_types.h
1 #ifndef _ASM_X86_PGTABLE_2LEVEL_DEFS_H
2 #define _ASM_X86_PGTABLE_2LEVEL_DEFS_H
5 #include <linux/types.h>
7 typedef unsigned long pteval_t
;
8 typedef unsigned long pmdval_t
;
9 typedef unsigned long pudval_t
;
10 typedef unsigned long p4dval_t
;
11 typedef unsigned long pgdval_t
;
12 typedef unsigned long pgprotval_t
;
18 #endif /* !__ASSEMBLY__ */
20 #define SHARED_KERNEL_PMD 0
23 * traditional i386 two-level paging structure:
26 #define PGDIR_SHIFT 22
27 #define PTRS_PER_PGD 1024
31 * the i386 is two-level, so we don't really have any
32 * PMD directory physically.
35 #define PTRS_PER_PTE 1024
37 #endif /* _ASM_X86_PGTABLE_2LEVEL_DEFS_H */