diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2024-05-17 04:52:53 +0000 |
---|---|---|
committer | Emmanuel Vadot <manu@FreeBSD.org> | 2024-05-17 05:58:59 +0000 |
commit | cff79fd02636f34010d8b835cc9e55401fa76e74 (patch) | |
tree | 5a45e08c26560307213f01b8f02c66a08f698c89 /sys | |
parent | 75529910f77a1623b83599de0518d39c5fb789df (diff) | |
download | src-cff79fd02636f34010d8b835cc9e55401fa76e74.tar.gz src-cff79fd02636f34010d8b835cc9e55401fa76e74.zip |
Diffstat (limited to 'sys')
-rw-r--r-- | sys/compat/linuxkpi/common/include/linux/spinlock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/spinlock.h b/sys/compat/linuxkpi/common/include/linux/spinlock.h index 3f6eb4bb70f6..2992e41c9c02 100644 --- a/sys/compat/linuxkpi/common/include/linux/spinlock.h +++ b/sys/compat/linuxkpi/common/include/linux/spinlock.h @@ -140,7 +140,7 @@ typedef struct mtx spinlock_t; #define spin_lock_name(name) _spin_lock_name(name, __FILE__, __LINE__) #define spin_lock_init(lock) mtx_init(lock, spin_lock_name("lnxspin"), \ - NULL, MTX_DEF | MTX_NOWITNESS) + NULL, MTX_DEF | MTX_NOWITNESS | MTX_NEW) #define spin_lock_destroy(_l) mtx_destroy(_l) |