direct-io.hg

view linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/pgtable-2level-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_2LEVEL_DEFS_H
2 #define _I386_PGTABLE_2LEVEL_DEFS_H
4 #define HAVE_SHARED_KERNEL_PMD 0
6 /*
7 * traditional i386 two-level paging structure:
8 */
10 #define PGDIR_SHIFT 22
11 #define PTRS_PER_PGD 1024
12 #define PTRS_PER_PGD_NO_HV (HYPERVISOR_VIRT_START >> PGDIR_SHIFT)
14 /*
15 * the i386 is two-level, so we don't really have any
16 * PMD directory physically.
17 */
19 #define PTRS_PER_PTE 1024
21 #endif /* _I386_PGTABLE_2LEVEL_DEFS_H */