From: dv Date: Thu, 26 Sep 2024 21:55:42 +0000 (+0000) Subject: Fix amd64/GENERIC not linking due to missing pmap_shootept symbol. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8c606e712b79ab4e5c39be07d302b18622c486f1;p=openbsd Fix amd64/GENERIC not linking due to missing pmap_shootept symbol. My recent commit to add an INVEPT ipi missed an ifdef related to MP machines. ok krw@ --- diff --git a/sys/arch/amd64/amd64/pmap.c b/sys/arch/amd64/amd64/pmap.c index 47e9e5c045b..ceef0b25bbd 100644 --- a/sys/arch/amd64/amd64/pmap.c +++ b/sys/arch/amd64/amd64/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.175 2024/09/26 13:18:25 dv Exp $ */ +/* $OpenBSD: pmap.c,v 1.176 2024/09/26 21:55:42 dv Exp $ */ /* $NetBSD: pmap.c,v 1.3 2003/05/08 18:13:13 thorpej Exp $ */ /* @@ -2468,7 +2468,9 @@ pmap_remove_ept(struct pmap *pmap, vaddr_t sgpa, vaddr_t egpa) for (v = sgpa; v < egpa + PAGE_SIZE; v += PAGE_SIZE) pmap_do_remove_ept(pmap, v); +#ifdef MULTIPROCESSOR pmap_shootept(pmap, 1); +#endif /* MULTIPROCESSOR */ mtx_leave(&pmap->pm_mtx);