Date: Thu, 25 Aug 2022 12:18:40 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: 5d0aebf4fa6d - main - Fix the arm generic timer on 32 bit Message-ID: <202208251218.27PCIeXQ094725@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=5d0aebf4fa6d85a2166dcb682f4a71cdd113c383 commit 5d0aebf4fa6d85a2166dcb682f4a71cdd113c383 Author: Andrew Turner <andrew@FreeBSD.org> AuthorDate: 2022-08-25 12:17:11 +0000 Commit: Andrew Turner <andrew@FreeBSD.org> CommitDate: 2022-08-25 12:17:11 +0000 Fix the arm generic timer on 32 bit Hide a variable when we don't use it. Sponsored by: The FreeBSD Foundation --- sys/arm/arm/generic_timer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/arm/arm/generic_timer.c b/sys/arm/arm/generic_timer.c index 0c242a31d9a7..ebaadd5f38a8 100644 --- a/sys/arm/arm/generic_timer.c +++ b/sys/arm/arm/generic_timer.c @@ -274,7 +274,9 @@ cntpct_handler(vm_offset_t va, uint32_t insn, struct trapframe *frame, static void tmr_setup_user_access(void *arg __unused) { +#ifdef __aarch64__ int emulate; +#endif if (arm_tmr_sc != NULL) { smp_rendezvous(NULL, setup_user_access, NULL, NULL);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202208251218.27PCIeXQ094725>