ia64/xen-unstable

changeset 14813:369dfbf298ef

[linux] Make CONFIG_XEN_COMPAT #if statements syntactically correct.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
author Christian Limpach <Christian.Limpach@xensource.com>
date Wed Apr 11 18:39:05 2007 +0100 (2007-04-11)
parents 38204c93428e
children 565b5662c880
files linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/pgtable.h linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/pgtable.h
line diff
     1.1 --- a/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/pgtable.h	Wed Apr 11 16:08:35 2007 +0100
     1.2 +++ b/linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/pgtable.h	Wed Apr 11 18:39:05 2007 +0100
     1.3 @@ -210,7 +210,7 @@ extern unsigned long pg0[];
     1.4  
     1.5  /* To avoid harmful races, pmd_none(x) should check only the lower when PAE */
     1.6  #define pmd_none(x)	(!(unsigned long)pmd_val(x))
     1.7 -#ifdef CONFIG_XEN_COMPAT <= 0x030002
     1.8 +#if CONFIG_XEN_COMPAT <= 0x030002
     1.9  /* pmd_present doesn't just test the _PAGE_PRESENT bit since wr.p.t.
    1.10     can temporarily clear it. */
    1.11  #define pmd_present(x)	(pmd_val(x))
     2.1 --- a/linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/pgtable.h	Wed Apr 11 16:08:35 2007 +0100
     2.2 +++ b/linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/pgtable.h	Wed Apr 11 18:39:05 2007 +0100
     2.3 @@ -411,7 +411,7 @@ static inline int pmd_large(pmd_t pte) {
     2.4  #define pmd_offset(dir, address) ((pmd_t *) pud_page(*(dir)) + \
     2.5                                    pmd_index(address))
     2.6  #define pmd_none(x)	(!pmd_val(x))
     2.7 -#ifdef CONFIG_XEN_COMPAT <= 0x030002
     2.8 +#if CONFIG_XEN_COMPAT <= 0x030002
     2.9  /* pmd_present doesn't just test the _PAGE_PRESENT bit since wr.p.t.
    2.10     can temporarily clear it. */
    2.11  #define pmd_present(x)	(pmd_val(x))