PERFORCE change 135307 for review

Sepherosa Ziehau sephe at FreeBSD.org
Wed Feb 13 04:34:25 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=135307

Change 135307 by sephe at sephe_zealot:sam_wifi on 2008/02/13 12:33:48

	Rename lock assertion macro

Affected files ...

.. //depot/projects/wifi/sys/dev/bwi/if_bwivar.h#9 edit

Differences ...

==== //depot/projects/wifi/sys/dev/bwi/if_bwivar.h#9 (text+ko) ====

@@ -660,7 +660,7 @@
 #define	BWI_LOCK_DESTROY(sc)	mtx_destroy(&(sc)->sc_mtx)
 #define	BWI_LOCK(sc)		mtx_lock(&(sc)->sc_mtx)
 #define	BWI_UNLOCK(sc)		mtx_unlock(&(sc)->sc_mtx)
-#define	BWI_LOCK_ASSERT(sc)	mtx_assert(&(sc)->sc_mtx, MA_OWNED)
+#define	BWI_ASSERT_LOCKED(sc)	mtx_assert(&(sc)->sc_mtx, MA_OWNED)
 
 int		bwi_attach(struct bwi_softc *);
 int		bwi_detach(struct bwi_softc *);


More information about the p4-projects mailing list