Fix the arm generic timer on 32 bit

Hide a variable when we don't use it.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Andrew Turner 2022-08-25 13:17:11 +01:00
parent 48a7e53db7
commit 5d0aebf4fa

View File

@ -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);