ia64/xen-unstable

changeset 11986:e09720caf72d

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>
author Ian Campbell <ian.campbell@xensource.com>
date Wed Oct 25 13:58:30 2006 +0100 (2006-10-25)
parents ecc1782f6968
children ded9d1ae21f7
files unmodified_drivers/linux-2.6/compat-include/asm-generic/pgtable-nopmd.h unmodified_drivers/linux-2.6/compat-include/asm-generic/pgtable-nopud.h
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/unmodified_drivers/linux-2.6/compat-include/asm-generic/pgtable-nopmd.h	Wed Oct 25 13:58:30 2006 +0100
     1.3 @@ -0,0 +1,14 @@
     1.4 +#ifndef _PGTABLE_NOPMD_H
     1.5 +#define _PGTABLE_NOPMD_H
     1.6 +
     1.7 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,11)
     1.8 +#error "This version of Linux should not need compat pgtable-nopmd.h"
     1.9 +#endif
    1.10 +
    1.11 +#define pud_t             pgd_t
    1.12 +#define pud_offset(d, va)     d
    1.13 +#define pud_none(pud)         0
    1.14 +#define pud_present(pud)      1
    1.15 +#define PTRS_PER_PUD          1
    1.16 +
    1.17 +#endif /* _PGTABLE_NOPMD_H */
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/unmodified_drivers/linux-2.6/compat-include/asm-generic/pgtable-nopud.h	Wed Oct 25 13:58:30 2006 +0100
     2.3 @@ -0,0 +1,14 @@
     2.4 +#ifndef _PGTABLE_NOPUD_H
     2.5 +#define _PGTABLE_NOPUD_H
     2.6 +
     2.7 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,11)
     2.8 +#error "This version of Linux should not need compat pgtable-nopud.h"
     2.9 +#endif
    2.10 +
    2.11 +#define pud_t             pgd_t
    2.12 +#define pud_offset(d, va)     d
    2.13 +#define pud_none(pud)         0
    2.14 +#define pud_present(pud)      1
    2.15 +#define PTRS_PER_PUD          1
    2.16 +
    2.17 +#endif /* _PGTABLE_NOPUD_H */