diff options
| author | Zhenlei Huang <zlei@FreeBSD.org> | 2026-03-12 04:24:59 +0000 |
|---|---|---|
| committer | Zhenlei Huang <zlei@FreeBSD.org> | 2026-03-12 04:24:59 +0000 |
| commit | 5f0ab9d9e965225c4af0c6ed481e01eee0ffab8f (patch) | |
| tree | 27b0c6c25a78b7b881eabf592741dcec6cdcf541 | |
| parent | a8b15315b250b067f16d629664caf6358d468bff (diff) | |
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
| -rw-r--r-- | sys/amd64/amd64/mp_machdep.c | 3 | ||||
| -rw-r--r-- | 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 05e4109e73bb..3b16845e2d87 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. @@ -330,7 +331,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 28c372a2e556..55ad236a4617 100644 --- a/sys/amd64/include/smp.h +++ b/sys/amd64/include/smp.h @@ -35,7 +35,6 @@ inthand_t IDTVEC(rendezvous_pti); void invlop_handler(void); -int start_all_aps(void); #endif /* !LOCORE */ |
