]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - include/asm-i386/pgtable-3level-defs.h
Merge branch 'for-linus' of git://one.firstfloor.org/home/andi/git/linux-2.6
[mirror_ubuntu-artful-kernel.git] / include / asm-i386 / pgtable-3level-defs.h
CommitLineData
1da177e4
LT
1#ifndef _I386_PGTABLE_3LEVEL_DEFS_H
2#define _I386_PGTABLE_3LEVEL_DEFS_H
3
4/*
5 * PGDIR_SHIFT determines what a top-level page table entry can map
6 */
7#define PGDIR_SHIFT 30
8#define PTRS_PER_PGD 4
9
10/*
11 * PMD_SHIFT determines the size of the area a middle-level
12 * page table can map
13 */
14#define PMD_SHIFT 21
15#define PTRS_PER_PMD 512
16
17/*
18 * entries per page directory level
19 */
20#define PTRS_PER_PTE 512
21
22#endif /* _I386_PGTABLE_3LEVEL_DEFS_H */