diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2026-01-27 18:30:23 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2026-01-27 18:30:23 +0000 |
| commit | 05609c5eff27ea7b382237bd2a937c01c1ceb59a (patch) | |
| tree | 1220a475f419bde3f4155157b31a09f83c7a005d | |
| parent | 29c3350f395a48b5c6fe8acd28f281e9af9cd8ab (diff) | |
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
| -rw-r--r-- | sys/arm/arm/machdep.c | 2 | ||||
| -rw-r--r-- | sys/arm/include/machdep.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/sys/arm/arm/machdep.c b/sys/arm/arm/machdep.c index cfc0b32f5102..9532e19a11b3 100644 --- a/sys/arm/arm/machdep.c +++ b/sys/arm/arm/machdep.c @@ -374,7 +374,7 @@ pcpu0_init(void) /* * Initialize proc0 */ -void +static void init_proc0(vm_offset_t kstack) { proc_linkup0(&proc0, &thread0); diff --git a/sys/arm/include/machdep.h b/sys/arm/include/machdep.h index 45e44a65368b..ada2dfa502aa 100644 --- a/sys/arm/include/machdep.h +++ b/sys/arm/include/machdep.h @@ -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); |
