Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jul 2023 07:46:59 GMT
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 208fcb55e33b - main - Fix MINIMAL build on amd64
Message-ID:  <202307140746.36E7kxpF032812@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=208fcb55e33ba423a90b0a6f72e730b0ab97d853

commit 208fcb55e33ba423a90b0a6f72e730b0ab97d853
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2023-07-13 12:44:26 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2023-07-14 07:18:43 +0000

    Fix MINIMAL build on amd64
    
    amd64/include/counter.h uses KASSERT, but failed to include the
    kassert.h header.
---
 sys/amd64/include/counter.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/amd64/include/counter.h b/sys/amd64/include/counter.h
index bde78ccacd7a..38c5a3d12056 100644
--- a/sys/amd64/include/counter.h
+++ b/sys/amd64/include/counter.h
@@ -36,6 +36,7 @@
 #define __MACHINE_COUNTER_H__
 
 #include <sys/pcpu.h>
+#include <sys/kassert.h>
 
 #define	EARLY_COUNTER	(void *)__offsetof(struct pcpu, pc_early_dummy_counter)
 



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