git: 4350a03fef2c - main - arm64: Make dpcpu static
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 04 Aug 2023 09:50:37 UTC
The branch main has been updated by andrew:
URL: https://cgit.FreeBSD.org/src/commit/?id=4350a03fef2c2da393b222de514821d50b1c656f
commit 4350a03fef2c2da393b222de514821d50b1c656f
Author: Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2023-08-03 20:32:57 +0000
Commit: Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2023-08-04 09:50:09 +0000
arm64: Make dpcpu static
We don't use this directly outside this file so it can be static.
Sponsored by: Arm Ltd
---
sys/arm64/arm64/mp_machdep.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/arm64/arm64/mp_machdep.c b/sys/arm64/arm64/mp_machdep.c
index 9aef6a9a080f..6f38cd8d0f1a 100644
--- a/sys/arm64/arm64/mp_machdep.c
+++ b/sys/arm64/arm64/mp_machdep.c
@@ -147,7 +147,7 @@ static volatile int aps_started;
static volatile int aps_ready;
/* Temporary variables for init_secondary() */
-void *dpcpu[MAXCPU - 1];
+static void *dpcpu[MAXCPU - 1];
static bool
is_boot_cpu(uint64_t target_cpu)