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.
This commit is contained in:
Joerg Wunsch 2023-03-08 21:48:14 +01:00
parent 49ebbdb264
commit b0484678d4
No known key found for this signature in database
GPG Key ID: 7E9EADC3030D34EB

View File

@ -43,6 +43,7 @@ __FBSDID("$FreeBSD$");
#include <sys/kernel.h>
#include <sys/bus.h>
#include <sys/rman.h>
#include <sys/lock.h>
#include <sys/module.h>
#include <sys/malloc.h>
#include <sys/mutex.h>