-/* $OpenBSD: ipi.c,v 1.17 2020/01/21 02:01:50 mlarkin Exp $ */
+/* $OpenBSD: ipi.c,v 1.18 2022/11/10 08:26:54 jmatthew Exp $ */
/* $NetBSD: ipi.c,v 1.2 2003/03/01 13:05:37 fvdl Exp $ */
/*-
if (pending & (1 << bit)) {
pending &= ~(1 << bit);
(*ipifunc[bit])(ci);
- ipi_count.ec_count++;
+ evcount_inc(&ipi_count);
}
}
-/* $OpenBSD: lapic.c,v 1.64 2022/11/08 17:34:13 cheloha Exp $ */
+/* $OpenBSD: lapic.c,v 1.65 2022/11/10 08:26:54 jmatthew Exp $ */
/* $NetBSD: lapic.c,v 1.2 2003/05/08 01:04:35 fvdl Exp $ */
/*-
#endif
evcount_attach(&clk_count, "clock", &clk_irq);
+ evcount_percpu(&clk_count);
#ifdef MULTIPROCESSOR
evcount_attach(&ipi_count, "ipi", &ipi_irq);
+ evcount_percpu(&ipi_count);
#endif
}
clockintr_dispatch(&frame);
ci->ci_handled_intr_level = floor;
- clk_count.ec_count++;
+ evcount_inc(&clk_count);
}
void