Date: Tue, 20 Oct 2009 00:36:15 +0000 (UTC) From: Kip Macy <kmacy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r198261 - user/kmacy/releng_8_fcs/sys/cddl/compat/opensolaris/sys Message-ID: <200910200036.n9K0aFx2032152@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)))
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910200036.n9K0aFx2032152>