diff options
Diffstat (limited to 'sys/pci/if_vrreg.h')
-rw-r--r-- | sys/pci/if_vrreg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/pci/if_vrreg.h b/sys/pci/if_vrreg.h index 043c3ed..2f8e810 100644 --- a/sys/pci/if_vrreg.h +++ b/sys/pci/if_vrreg.h @@ -475,6 +475,7 @@ struct vr_softc { #define VR_LOCK(_sc) mtx_lock(&(_sc)->vr_mtx) #define VR_UNLOCK(_sc) mtx_unlock(&(_sc)->vr_mtx) +#define VR_LOCK_ASSERT(_sc) mtx_assert(&(_sc)->vr_mtx, MA_OWNED) /* * register space access macros |