aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/spinlock.c
diff options
context:
space:
mode:
authorKeir Fraser <keir@xen.org>2011-03-29 16:34:01 +0100
committerKeir Fraser <keir@xen.org>2011-03-29 16:34:01 +0100
commit5a04c93500d58e4026dbe179d641dedd9ce21b1e (patch)
tree6149515de9f97a7e91953900e6013f1dfc7229aa /xen/common/spinlock.c
parented1dec3b310771603bab8b84b4e6e183312eb0c4 (diff)
downloadxen-5a04c93500d58e4026dbe179d641dedd9ce21b1e.tar.gz
xen-5a04c93500d58e4026dbe179d641dedd9ce21b1e.tar.bz2
xen-5a04c93500d58e4026dbe179d641dedd9ce21b1e.zip
spinlock: Define check_barrier() for non-debug build, fixes build.
Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/common/spinlock.c')
-rw-r--r--xen/common/spinlock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/common/spinlock.c b/xen/common/spinlock.c
index 6ca780bce6..aec9ebf6b7 100644
--- a/xen/common/spinlock.c
+++ b/xen/common/spinlock.c
@@ -80,6 +80,7 @@ void spin_debug_disable(void)
#else /* defined(NDEBUG) */
#define check_lock(l) ((void)0)
+#define check_barrier(l) ((void)0)
#endif