HomeFreeBSD

linuxkpi: rwlock: Fix rwlock_init

Description

linuxkpi: rwlock: Fix rwlock_init

Some linux code re-init some spinlock so add MTX_NEW to mtx_init.

Reported by: rlibby
Fixes: 5c0a1923486e ("linuxkpi: rwlock: Simplify code")

Details

Provenance
manuAuthored on May 17 2024, 5:54 AM
Parents
rGcff79fd02636: linuxkpi: Fix spin_lock_init
Branches
Unknown
Tags
Unknown