On Thu, Jul 03, 2025 at 06:19:16PM +0200, A FreeBSD User wrote:
> 
> The commit breaks buildkernel:
> 
> [...]
> /usr/src/sys/dev/hwt/hwt_contexthash.c:82:2: error: call to undeclared 
> function
> 'spinlock_enter'; ISO C99 and later do not support implicit function 
> declarations
> [-Werror,-Wimplicit-function-declaration] 82 |         HWT_CTXHASH_LOCK(); |  
>        ^
> /usr/src/sys/dev/hwt/hwt_contexthash.h:39:28: note: expanded from macro 
> 'HWT_CTXHASH_LOCK'
>    39 | #define HWT_CTXHASH_LOCK()      mtx_lock_spin(&hwt_contexthash_mtx)
> 

Dear FreeBSD user, thanks for your report. This should now be fixed. Could you 
confirm it builds?

Roseland

Reply via email to