diff options
| author | Bosko Milekic <bmilekic@FreeBSD.org> | 2001-02-09 06:11:45 +0000 |
|---|---|---|
| committer | Bosko Milekic <bmilekic@FreeBSD.org> | 2001-02-09 06:11:45 +0000 |
| commit | 9ed346bab02c967ac656a58bc024f9505d8e3d7a (patch) | |
| tree | d3c094e833fc39df4460403c9499fab2981579c4 /sys/dev/ti | |
| parent | c27eb220c245e2b0f32d16a84d5edb3e42ccd2f8 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ti')
| -rw-r--r-- | sys/dev/ti/if_tireg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ti/if_tireg.h b/sys/dev/ti/if_tireg.h index 0eaff14539128..df399be00b18d 100644 --- a/sys/dev/ti/if_tireg.h +++ b/sys/dev/ti/if_tireg.h @@ -1147,8 +1147,8 @@ struct ti_softc { struct mtx ti_mtx; }; -#define TI_LOCK(_sc) mtx_enter(&(_sc)->ti_mtx, MTX_DEF) -#define TI_UNLOCK(_sc) mtx_exit(&(_sc)->ti_mtx, MTX_DEF) +#define TI_LOCK(_sc) mtx_lock(&(_sc)->ti_mtx) +#define TI_UNLOCK(_sc) mtx_unlock(&(_sc)->ti_mtx) /* * Microchip Technology 24Cxx EEPROM control bytes |
