summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTill Straumann <strauman@slac.stanford.edu>2009-04-23 04:24:18 +0000
committerTill Straumann <strauman@slac.stanford.edu>2009-04-23 04:24:18 +0000
commit86beed821051e3741c8d54a56860a9b9e714a30c (patch)
treea33618c09537d28355fee1f0a3ecf563dd042375
parentcd524ab9d594bf3676fff880a1275020e41f1227 (diff)
downloadlibbsdport-86beed821051e3741c8d54a56860a9b9e714a30c.tar.bz2
- added definition for MA_NOTOWNED
-rw-r--r--bsd_eth_drivers/libbsdport/mutex.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bsd_eth_drivers/libbsdport/mutex.h b/bsd_eth_drivers/libbsdport/mutex.h
index 5476e37..8f0b5e6 100644
--- a/bsd_eth_drivers/libbsdport/mutex.h
+++ b/bsd_eth_drivers/libbsdport/mutex.h
@@ -46,7 +46,8 @@ mtx_destroy(struct mtx *m)
}
/* what ? */
-#define MA_OWNED 1
+#define MA_OWNED 1
+#define MA_NOTOWNED 0
static inline void
mtx_assert(struct mtx *m, int what)
{