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

[Xen-changelog] [xen-unstable] spinlock: Define check_barrier() for non-debug build, fixes build.



# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1301412841 -3600
# Node ID 45eeeb6d0481efaab2a59941e1b8e061aead37d4
# Parent  9549c04a8384d18395bf036eeab0c6af2ff45aa2
spinlock: Define check_barrier() for non-debug build, fixes build.

Signed-off-by: Keir Fraser <keir@xxxxxxx>
---


diff -r 9549c04a8384 -r 45eeeb6d0481 xen/common/spinlock.c
--- a/xen/common/spinlock.c     Mon Mar 28 13:44:08 2011 +0100
+++ b/xen/common/spinlock.c     Tue Mar 29 16:34:01 2011 +0100
@@ -80,6 +80,7 @@
 #else /* defined(NDEBUG) */
 
 #define check_lock(l) ((void)0)
+#define check_barrier(l) ((void)0)
 
 #endif
 

_______________________________________________
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®.