arm: Make init_proc0 static

This function is not used outside of machdep.c and is already static
on arm64 and riscv.

Reviewed by:	imp
Effort:		CHERI upstreaming
Sponsored by:	AFRL, DARPA
Differential Revision:	https://reviews.freebsd.org/D54838
This commit is contained in:
John Baldwin
2026-01-27 13:30:23 -05:00
parent 29c3350f39
commit 05609c5eff
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -374,7 +374,7 @@ pcpu0_init(void)
/*
* Initialize proc0
*/
void
static void
init_proc0(vm_offset_t kstack)
{
proc_linkup0(&proc0, &thread0);
-1
View File
@@ -15,7 +15,6 @@ extern vm_offset_t abtstack;
/* misc prototypes used by the many arm machdeps */
struct trapframe;
void init_proc0(vm_offset_t kstack);
void halt(void);
void abort_handler(struct trapframe *, int );
void set_stackptrs(int cpu);