git: 35ce5a0f6d3f - stable/14 - amd64/pmap: include opt_kstack_pages.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 10 Aug 2025 01:36:26 UTC
The branch stable/14 has been updated by khng:
URL: https://cgit.FreeBSD.org/src/commit/?id=35ce5a0f6d3fdca121e6e891e060b5af09a1b8fc
commit 35ce5a0f6d3fdca121e6e891e060b5af09a1b8fc
Author: Ka Ho Ng <khng@FreeBSD.org>
AuthorDate: 2025-08-03 03:40:57 +0000
Commit: Ka Ho Ng <khng@FreeBSD.org>
CommitDate: 2025-08-10 01:35:51 +0000
amd64/pmap: include opt_kstack_pages.h
This fixes an early KASAN initialization panic in
pmap_san_enter_early_alloc_4k, when a non-default value is specified for
KSTACK_PAGES in the build config file.
Sponsored by: Juniper Networks, Inc.
MFC after: 7 days
Reviewed by: des, markj
Differential Revision: https://reviews.freebsd.org/D51709
(cherry picked from commit ecf65a4ae5cb9f18ebdc5fd9a40332f443e04959)
---
sys/amd64/amd64/pmap.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index 86773ad1294e..ba0ce76c5335 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -106,6 +106,7 @@
*/
#include "opt_ddb.h"
+#include "opt_kstack_pages.h"
#include "opt_pmap.h"
#include "opt_vm.h"