Files
xen/unmodified_drivers/linux-2.6/compat-include/asm-generic/pgtable-nopmd.h
T
Ian Campbell da611bef47 PV-on-HVM: Include compatability headers for asm/pgtable-no{pmd,pud}.h
for kernels before 2.6.11.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com>
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
2006-10-25 13:58:30 +01:00

15 lines
369 B
C

#ifndef _PGTABLE_NOPMD_H
#define _PGTABLE_NOPMD_H
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,11)
#error "This version of Linux should not need compat pgtable-nopmd.h"
#endif
#define pud_t pgd_t
#define pud_offset(d, va) d
#define pud_none(pud) 0
#define pud_present(pud) 1
#define PTRS_PER_PUD 1
#endif /* _PGTABLE_NOPMD_H */