ia64/xen-unstable

diff xen/include/asm-x86/shadow.h @ 3813:4b4a77f35103

bitkeeper revision 1.1159.260.2 (420e0856crqXXEkQoCUddas8u5ksXA)

Rename check_pagetable() function to _check_pagetable to make it easier
to selectively enable it during debugging. There's still the same
check_pagetable macro, but now it's used both when SHADOW_DEBUG is
enabled and disabled.
author mafetter@fleming.research
date Sat Feb 12 13:44:54 2005 +0000 (2005-02-12)
parents 4644bea63898
children 58be428f51a8
line diff
     1.1 --- a/xen/include/asm-x86/shadow.h	Sat Feb 12 13:42:57 2005 +0000
     1.2 +++ b/xen/include/asm-x86/shadow.h	Sat Feb 12 13:44:54 2005 +0000
     1.3 @@ -573,7 +573,8 @@ static inline void shadow_mk_pagetable(s
     1.4  }
     1.5  
     1.6  #if SHADOW_DEBUG
     1.7 -extern int check_pagetable(struct mm_struct *m, pagetable_t pt, char *s);
     1.8 +extern int _check_pagetable(struct mm_struct *m, pagetable_t pt, char *s);
     1.9 +#define check_pagetable(m, pt, s) _check_pagetable(m, pt, s)
    1.10  #else
    1.11  #define check_pagetable(m, pt, s) ((void)0)
    1.12  #endif