[MIPS] Fix another trap decoding issue
[linux-2.6/linux-mips/linux-dm7025.git] / include / asm-x86 / pgtable-3level-defs.h
blob448ac95163145c4ded12b5d3a8db3c911d617bd3
1 #ifndef _I386_PGTABLE_3LEVEL_DEFS_H
2 #define _I386_PGTABLE_3LEVEL_DEFS_H
4 #ifdef CONFIG_PARAVIRT
5 #define SHARED_KERNEL_PMD (pv_info.shared_kernel_pmd)
6 #else
7 #define SHARED_KERNEL_PMD 1
8 #endif
11 * PGDIR_SHIFT determines what a top-level page table entry can map
13 #define PGDIR_SHIFT 30
14 #define PTRS_PER_PGD 4
17 * PMD_SHIFT determines the size of the area a middle-level
18 * page table can map
20 #define PMD_SHIFT 21
21 #define PTRS_PER_PMD 512
24 * entries per page directory level
26 #define PTRS_PER_PTE 512
28 #endif /* _I386_PGTABLE_3LEVEL_DEFS_H */