git: 5d0aebf4fa6d - main - Fix the arm generic timer on 32 bit
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 25 Aug 2022 12:18:40 UTC
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);