]> xenbits.xensource.com Git - xen.git/commitdiff
tmem: Quieten noisy printk in non-debug build
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 22 Feb 2010 10:02:17 +0000 (10:02 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 22 Feb 2010 10:02:17 +0000 (10:02 +0000)
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/common/tmem.c

index 82075b6944cc39c303e2dcf1abccc6c380205b74..c2f6c74f1fda847e01b53633155bf78dfbc536b9 100644 (file)
@@ -2529,7 +2529,9 @@ EXPORT void *tmem_relinquish_pages(unsigned int order, unsigned int memflags)
     relinq_attempts++;
     if ( order > 0 )
     {
+#ifndef NDEBUG
         printk("tmem_relinquish_page: failing order=%d\n", order);
+#endif
         return NULL;
     }