summaryrefslogtreecommitdiffstats
path: root/sys/sys/rmlock.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2013-03-01 22:03:31 +0000
committerjhb <jhb@FreeBSD.org>2013-03-01 22:03:31 +0000
commit8857575b13cf118cc89efb1b462dd314df09c180 (patch)
tree5508497f5efa7add0b4f3b7a364b4d8c9bab98be /sys/sys/rmlock.h
parent0542e230f823d21b65362dd6575a212e82d79bf5 (diff)
downloadFreeBSD-src-8857575b13cf118cc89efb1b462dd314df09c180.zip
FreeBSD-src-8857575b13cf118cc89efb1b462dd314df09c180.tar.gz
Replace the TDP_NOSLEEPING flag with a counter so that the
THREAD_NO_SLEEPING() and THREAD_SLEEPING_OK() macros can nest. Reviewed by: attilio
Diffstat (limited to 'sys/sys/rmlock.h')
-rw-r--r--sys/sys/rmlock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/rmlock.h b/sys/sys/rmlock.h
index 0ae2099..5a0fa8a 100644
--- a/sys/sys/rmlock.h
+++ b/sys/sys/rmlock.h
@@ -40,7 +40,7 @@
#ifdef _KERNEL
/*
- * Flags passed to rm_init(9).
+ * Flags passed to rm_init_flags(9).
*/
#define RM_NOWITNESS 0x00000001
#define RM_RECURSE 0x00000002
OpenPOWER on IntegriCloud