summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1999-01-19 20:44:43 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1999-01-19 20:44:43 +0000
commit34ecdb4b2d873ad154d1de041e1d840be105093a (patch)
treee76aed6d7e02ebc1ddd7584d21a27583191dbb06
parent2f624c868b5a44e93b0e9866f57e6ff187f54f64 (diff)
don't define SIMPLELOCK_DEBUG when DEBUG is defined
-rw-r--r--sys/sys/simplelock.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/sys/simplelock.h b/sys/sys/simplelock.h
index fd65047eb18..fb25d3f911d 100644
--- a/sys/sys/simplelock.h
+++ b/sys/sys/simplelock.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: simplelock.h,v 1.6 1998/12/28 19:13:01 art Exp $ */
+/* $OpenBSD: simplelock.h,v 1.7 1999/01/19 20:44:42 art Exp $ */
#ifndef _SIMPLELOCK_H_
#define _SIMPLELOCK_H_
@@ -23,10 +23,6 @@ struct simplelock {
#if NCPUS == 1
-#if defined(DEBUG) && !defined(SIMPLELOCK_DEBUG)
-#define SIMPLELOCK_DEBUG
-#endif
-
#if !defined(SIMPLELOCK_DEBUG)
#define simple_lock(alp)
#define simple_lock_try(alp) (1) /* always succeeds */