Date: Fri, 20 Mar 2026 10:01:14 +0000 From: Zhenlei Huang <zlei@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: f521487cd935 - stable/15 - amd64: Make start_all_aps() static Message-ID: <69bd1aea.1de7c.78f23ab2@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/15 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=f521487cd935a0a547a9d7b54eeadebb200f5148 commit f521487cd935a0a547a9d7b54eeadebb200f5148 Author: Zhenlei Huang <zlei@FreeBSD.org> AuthorDate: 2026-03-12 04:24:59 +0000 Commit: Zhenlei Huang <zlei@FreeBSD.org> CommitDate: 2026-03-20 10:00:21 +0000 amd64: Make start_all_aps() static It is not used elsewhere since the change [1]. [1] ac3ede5371af x86/xen: remove PVHv1 code MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D55668 (cherry picked from commit 5f0ab9d9e965225c4af0c6ed481e01eee0ffab8f) --- sys/amd64/amd64/mp_machdep.c | 3 ++- sys/amd64/include/smp.h | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/amd64/amd64/mp_machdep.c b/sys/amd64/amd64/mp_machdep.c index 9af87787e7cc..91f725c93158 100644 --- a/sys/amd64/amd64/mp_machdep.c +++ b/sys/amd64/amd64/mp_machdep.c @@ -110,6 +110,7 @@ smp_targeted_tlb_shootdown_t smp_targeted_tlb_shootdown = */ static int start_ap(int apic_id, vm_paddr_t boot_address); +static int start_all_aps(void); /* * Initialize the IPI handlers and start up the AP's. @@ -317,7 +318,7 @@ amd64_mp_alloc_pcpu(void) /* * start each AP in our list */ -int +static int start_all_aps(void) { vm_page_t m_boottramp, m_pml4, m_pdp, m_pd[4]; diff --git a/sys/amd64/include/smp.h b/sys/amd64/include/smp.h index bff92570ff82..f49827627915 100644 --- a/sys/amd64/include/smp.h +++ b/sys/amd64/include/smp.h @@ -34,7 +34,6 @@ inthand_t IDTVEC(rendezvous_pti); void invlop_handler(void); -int start_all_aps(void); #endif /* !LOCORE */home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69bd1aea.1de7c.78f23ab2>
