HomeFreeBSD

dpaa2_mc.c: unbreak by adding <sys/lock.h>

Description

dpaa2_mc.c: unbreak by adding <sys/lock.h>

When compiling current on arm64, it breaks since LA_UNLOCKED is
undefined. This was in turn caused by the mutex code aliasing
it as MA_NOTOWNED.

Add <sys/lock.h> so the macro is defined.

Details

Provenance
joergAuthored on Mar 8 2023, 8:48 PM
Parents
rG49ebbdb264fe: Add NAMESPACE MANAGEMENT into admin_opcode[].
Branches
Unknown
Tags
Unknown