Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 2025 20:42:01 GMT
From:      Ruslan Bukin <br@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 070d185b2f53 - main - hwt: fix build.
Message-ID:  <202507032042.563Kg1Cx029866@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202507032042.563Kg1Cx029866>