HomeFreeBSD

linuxkpi: Fix spin_lock_init

Description

linuxkpi: Fix spin_lock_init

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

Reported by: David Wolfskill <david@catwhisker.org>
Fixes: ae38a1a1bfdf ("linuxkpi: spinlock: Simplify code")

Details

Provenance
manuAuthored on May 17 2024, 4:52 AM
Parents
rG75529910f77a: Trim a spurious trailing backslash
Branches
Unknown
Tags
Unknown