The branch main has been updated by khng:

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

commit ecf65a4ae5cb9f18ebdc5fd9a40332f443e04959
Author:     Ka Ho Ng <k...@freebsd.org>
AuthorDate: 2025-08-03 03:40:57 +0000
Commit:     Ka Ho Ng <k...@freebsd.org>
CommitDate: 2025-08-03 03:40:57 +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
---
 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 4cf77ee75871..243a6625bece 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -104,6 +104,7 @@
  */
 
 #include "opt_ddb.h"
+#include "opt_kstack_pages.h"
 #include "opt_pmap.h"
 #include "opt_vm.h"
 

Reply via email to