mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-04 12:52:15 +00:00
Remove the MTX_SPIN flag to the shared code MUTEX
as it was causing a panic, also took the opportunity to rename the lock for clarity.
This commit is contained in:
parent
8b3433dc98
commit
92cc9dde8b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=200523
@ -82,8 +82,7 @@
|
||||
/* Mutex used in the shared code */
|
||||
#define E1000_MUTEX struct mtx
|
||||
#define E1000_MUTEX_INIT(mutex) mtx_init((mutex), #mutex, \
|
||||
MTX_NETWORK_LOCK, \
|
||||
MTX_DEF | MTX_SPIN)
|
||||
"E1000 Shared Lock", MTX_DEF)
|
||||
#define E1000_MUTEX_DESTROY(mutex) mtx_destroy(mutex)
|
||||
#define E1000_MUTEX_LOCK(mutex) mtx_lock(mutex)
|
||||
#define E1000_MUTEX_TRYLOCK(mutex) mtx_trylock(mutex)
|
||||
|
Loading…
Reference in New Issue
Block a user