vkernel - Unbreak 32-bit vkernel builds by fixing broken assertion
[dragonfly.git] / sys / sys / mplock2.h
index 7a1a7ad..1e13c15 100644 (file)
@@ -26,8 +26,8 @@
 
 void cpu_get_initial_mplock(void);
 
-#define MP_LOCK_HELD()         LWKT_TOKEN_HELD(&mp_token)
-#define ASSERT_MP_LOCK_HELD()  ASSERT_LWKT_TOKEN_HELD(&mp_token)
+#define MP_LOCK_HELD()         LWKT_TOKEN_HELD_EXCL(&mp_token)
+#define ASSERT_MP_LOCK_HELD()  ASSERT_LWKT_TOKEN_HELD_EXCL(&mp_token)
 
 #else