Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2002 13:04:40 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 20977 for review
Message-ID:  <200211112104.gABL4erp093877@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=20977

Change 20977 by jhb@jhb_laptop on 2002/11/11 13:03:56

	Axe WITNESS_SLEEP().

Affected files ...

.. //depot/projects/smpng/sys/sys/lock.h#19 edit

Differences ...

==== //depot/projects/smpng/sys/sys/lock.h#19 (text+ko) ====

@@ -270,15 +270,5 @@
 #define	WITNESS_LINE(lock) (0)
 #endif	/* WITNESS */
 
-/* XXX */
-#define	WITNESS_SLEEP(check, lock) do {					\
-	if ((check))							\
-		WITNESS_WARN(WARN_GIANTOK | WARN_SLEEPOK, lock,		\
-		    "Could Sleep");					\
-	else								\
-		WITNESS_WARN(WARN_GIANTOK | WARN_SLEEPOK, lock,		\
-		    "Sleeping");					\
-} while (0)
-
 #endif	/* _KERNEL */
 #endif	/* _SYS_LOCK_H_ */

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211112104.gABL4erp093877>