Date: Fri, 20 Mar 2026 10:03:16 +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: fa5f0d95be25 - stable/14 - amd64: Make start_all_aps() static Message-ID: <69bd1b64.1f502.1ccb4a11@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/14 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=fa5f0d95be25f670f9752e4785f55cbdeb830bab commit fa5f0d95be25f670f9752e4785f55cbdeb830bab 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:02:19 +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) (cherry picked from commit f521487cd935a0a547a9d7b54eeadebb200f5148) --- 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 00e99f9df192..8f3d339d9dc7 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 26eb227211da..545d30fca6ae 100644 --- a/sys/amd64/include/smp.h +++ b/sys/amd64/include/smp.h @@ -36,7 +36,6 @@ inthand_t IDTVEC(rendezvous_pti); void invlop_handler(void); -int start_all_aps(void); #endif /* !LOCORE */ #endif /* SMP */home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69bd1b64.1f502.1ccb4a11>
