summaryrefslogtreecommitdiffstats
path: root/sys/dev/sf/if_sfreg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sf/if_sfreg.h')
-rw-r--r--sys/dev/sf/if_sfreg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/sf/if_sfreg.h b/sys/dev/sf/if_sfreg.h
index 1975cfc..630f0b2 100644
--- a/sys/dev/sf/if_sfreg.h
+++ b/sys/dev/sf/if_sfreg.h
@@ -1051,6 +1051,7 @@ struct sf_softc {
#define SF_LOCK(_sc) mtx_lock(&(_sc)->sf_mtx)
#define SF_UNLOCK(_sc) mtx_unlock(&(_sc)->sf_mtx)
+#define SF_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->sf_mtx, MA_OWNED)
#define SF_TIMEOUT 1000
OpenPOWER on IntegriCloud