[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] tmem: Quieten noisy printk in non-debug build



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1266832937 0
# Node ID 87f1e5b7660b8c0961f8fc71ba800d51885f250d
# Parent  0fa4ead4ed0f702c2c9b38b936af178bb75344a7
tmem: Quieten noisy printk in non-debug build

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/common/tmem.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r 0fa4ead4ed0f -r 87f1e5b7660b xen/common/tmem.c
--- a/xen/common/tmem.c Mon Feb 22 10:00:59 2010 +0000
+++ b/xen/common/tmem.c Mon Feb 22 10:02:17 2010 +0000
@@ -2529,7 +2529,9 @@ EXPORT void *tmem_relinquish_pages(unsig
     relinq_attempts++;
     if ( order > 0 )
     {
+#ifndef NDEBUG
         printk("tmem_relinquish_page: failing order=%d\n", order);
+#endif
         return NULL;
     }
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.