svn commit: r198261 - user/kmacy/releng_8_fcs/sys/cddl/compat/opensolaris/sys

Kip Macy kmacy at FreeBSD.org
Tue Oct 20 00:36:16 UTC 2009


Author: kmacy
Date: Tue Oct 20 00:36:15 2009
New Revision: 198261
URL: http://svn.freebsd.org/changeset/base/198261

Log:
  don't disable WITNESS

Modified:
  user/kmacy/releng_8_fcs/sys/cddl/compat/opensolaris/sys/mutex.h
  user/kmacy/releng_8_fcs/sys/cddl/compat/opensolaris/sys/rwlock.h

Modified: user/kmacy/releng_8_fcs/sys/cddl/compat/opensolaris/sys/mutex.h
==============================================================================
--- user/kmacy/releng_8_fcs/sys/cddl/compat/opensolaris/sys/mutex.h	Mon Oct 19 23:11:43 2009	(r198260)
+++ user/kmacy/releng_8_fcs/sys/cddl/compat/opensolaris/sys/mutex.h	Tue Oct 20 00:36:15 2009	(r198261)
@@ -46,11 +46,7 @@ typedef enum {
 
 typedef struct sx	kmutex_t;
 
-#ifndef DEBUG
-#define	MUTEX_FLAGS	(SX_DUPOK | SX_NOWITNESS)
-#else
 #define	MUTEX_FLAGS	(SX_DUPOK)
-#endif
 
 #define	mutex_init(lock, desc, type, arg)	do {			\
 	const char *_name;						\

Modified: user/kmacy/releng_8_fcs/sys/cddl/compat/opensolaris/sys/rwlock.h
==============================================================================
--- user/kmacy/releng_8_fcs/sys/cddl/compat/opensolaris/sys/rwlock.h	Mon Oct 19 23:11:43 2009	(r198260)
+++ user/kmacy/releng_8_fcs/sys/cddl/compat/opensolaris/sys/rwlock.h	Tue Oct 20 00:36:15 2009	(r198261)
@@ -48,11 +48,7 @@ typedef enum {
 
 typedef	struct sx	krwlock_t;
 
-#ifndef DEBUG
-#define	RW_FLAGS	(SX_DUPOK | SX_NOWITNESS)
-#else
 #define	RW_FLAGS	(SX_DUPOK)
-#endif
 
 #define	RW_READ_HELD(x)		(rw_read_held((x)))
 #define	RW_WRITE_HELD(x)	(rw_write_held((x)))


More information about the svn-src-user mailing list