git: 070d185b2f53 - main - hwt: fix build.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 03 Jul 2025 20:42:01 UTC
The branch main has been updated by br: URL: https://cgit.FreeBSD.org/src/commit/?id=070d185b2f5345261bd006f0692ecec2c84bdf07 commit 070d185b2f5345261bd006f0692ecec2c84bdf07 Author: Ruslan Bukin <br@FreeBSD.org> AuthorDate: 2025-07-03 20:36:18 +0000 Commit: Ruslan Bukin <br@FreeBSD.org> CommitDate: 2025-07-03 20:36:18 +0000 hwt: fix build. Include sys/lock.h header for spinlock_enter() prototype. Sponsored by: UKRI --- sys/dev/hwt/hwt_contexthash.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/hwt/hwt_contexthash.c b/sys/dev/hwt/hwt_contexthash.c index c73415e03fbb..5682b7d38e5e 100644 --- a/sys/dev/hwt/hwt_contexthash.c +++ b/sys/dev/hwt/hwt_contexthash.c @@ -30,6 +30,7 @@ #include <sys/param.h> #include <sys/kernel.h> +#include <sys/lock.h> #include <sys/malloc.h> #include <sys/mutex.h> #include <sys/refcount.h>