debuggers.hg

changeset 21005:87f1e5b7660b

tmem: Quieten noisy printk in non-debug build

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Feb 22 10:02:17 2010 +0000 (2010-02-22)
parents 0fa4ead4ed0f
children 845da68515d8
files xen/common/tmem.c
line diff
     1.1 --- a/xen/common/tmem.c	Mon Feb 22 10:00:59 2010 +0000
     1.2 +++ b/xen/common/tmem.c	Mon Feb 22 10:02:17 2010 +0000
     1.3 @@ -2529,7 +2529,9 @@ EXPORT void *tmem_relinquish_pages(unsig
     1.4      relinq_attempts++;
     1.5      if ( order > 0 )
     1.6      {
     1.7 +#ifndef NDEBUG
     1.8          printk("tmem_relinquish_page: failing order=%d\n", order);
     1.9 +#endif
    1.10          return NULL;
    1.11      }
    1.12