summaryrefslogtreecommitdiff
path: root/kern/lock.h
diff options
context:
space:
mode:
Diffstat (limited to 'kern/lock.h')
-rw-r--r--kern/lock.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/kern/lock.h b/kern/lock.h
index 4fcbe8ab..48976196 100644
--- a/kern/lock.h
+++ b/kern/lock.h
@@ -39,6 +39,11 @@
#if NCPUS > 1
#include <machine/lock.h>/*XXX*/
+#if MACH_LOCK_MON == 0
+#define simple_lock _simple_lock
+#define simple_lock_try _simple_lock_try
+#define simple_unlock _simple_unlock
+#endif
#endif
#define MACH_SLOCKS ((NCPUS > 1) || MACH_LDEBUG)