Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Make "src/regress/sys/kern/extent" build again.



details:   https://anonhg.NetBSD.org/src/rev/b4a594397ea1
branches:  trunk
changeset: 487420:b4a594397ea1
user:      tron <tron%NetBSD.org@localhost>
date:      Wed Jun 07 16:25:15 2000 +0000

description:
Make "src/regress/sys/kern/extent" build again.

diffstat:

 sys/sys/lock.h |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 0e9c5aac86bd -r b4a594397ea1 sys/sys/lock.h
--- a/sys/sys/lock.h    Wed Jun 07 14:40:20 2000 +0000
+++ b/sys/sys/lock.h    Wed Jun 07 16:25:15 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lock.h,v 1.29 2000/06/07 13:50:40 thorpej Exp $        */
+/*     $NetBSD: lock.h,v 1.30 2000/06/07 16:25:15 tron Exp $   */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -286,6 +286,10 @@
 #define        spinlockmgr(lkp, flags, intrlk)                                 \
        lockmgr((lkp), (flags) | LK_SPIN, (intrlk))
 
+#endif /* _KERNEL */
+
+#if defined(_KERNEL) || defined(_EXTENT_TESTING)
+
 #if defined(LOCKDEBUG)
 void   _simple_lock __P((__volatile struct simplelock *, const char *, int));
 int    _simple_lock_try __P((__volatile struct simplelock *, const char *,
@@ -311,6 +315,7 @@
 #define        simple_unlock(alp)              /* nothing */
 #endif
 
-#endif /* _KERNEL */
+#endif /* defined(_KERNEL) || defined(_EXTENT_TESTING) */
 
 #endif /* _SYS_LOCK_H_ */
+



Home | Main Index | Thread Index | Old Index