Date: Fri, 4 Aug 2023 09:50:37 GMT From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 4350a03fef2c - main - arm64: Make dpcpu static Message-ID: <202308040950.3749obUW063189@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308040950.3749obUW063189>