direct-io.hg

view linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/pgtable-3level-defs.h @ 11509:2e6c10dc7c0b

[POWERPC][XEN] make sure put_domain() is called in case of allocate_rma() failuer

Signed-off-by: Jimi Xenidis <jimix@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
author Jimi Xenidis <jimix@watson.ibm.com>
date Tue Sep 12 10:53:46 2006 -0400 (2006-09-12)
parents fd9b2c1bb577
children f6b7ae6ed504
line source
1 #ifndef _I386_PGTABLE_3LEVEL_DEFS_H
2 #define _I386_PGTABLE_3LEVEL_DEFS_H
4 #define HAVE_SHARED_KERNEL_PMD 0
6 /*
7 * PGDIR_SHIFT determines what a top-level page table entry can map
8 */
9 #define PGDIR_SHIFT 30
10 #define PTRS_PER_PGD 4
11 #define PTRS_PER_PGD_NO_HV 4
13 /*
14 * PMD_SHIFT determines the size of the area a middle-level
15 * page table can map
16 */
17 #define PMD_SHIFT 21
18 #define PTRS_PER_PMD 512
20 /*
21 * entries per page directory level
22 */
23 #define PTRS_PER_PTE 512
25 #endif /* _I386_PGTABLE_3LEVEL_DEFS_H */