summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_sx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_sx.c')
-rw-r--r--sys/kern/kern_sx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_sx.c b/sys/kern/kern_sx.c
index c089147..a1c576f 100644
--- a/sys/kern/kern_sx.c
+++ b/sys/kern/kern_sx.c
@@ -136,7 +136,7 @@ sx_sunlock(struct sx *sx)
{
mtx_lock(&sx->sx_lock);
- SX_ASSERT_SLOCKED(sx);
+ _SX_ASSERT_SLOCKED(sx);
/* Release. */
sx->sx_cnt--;
@@ -161,7 +161,7 @@ sx_xunlock(struct sx *sx)
{
mtx_lock(&sx->sx_lock);
- SX_ASSERT_XLOCKED(sx);
+ _SX_ASSERT_XLOCKED(sx);
MPASS(sx->sx_cnt == -1);
/* Release. */
OpenPOWER on IntegriCloud