From 623d2d40afd63f1a271f4eb1c833720e4920577e Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Sat, 16 May 2015 23:51:24 +0000 Subject: [PATCH] Increment the vm stats "v_intr" counter so the global system interrupt statistics work again. I'm not sure why/when this broke, only that it used to work fine. This commit is brought to you by Maker Faire Bay Area 2015. --- sys/mips/include/intr_machdep.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/mips/include/intr_machdep.h b/sys/mips/include/intr_machdep.h index 547e75aacf4..186533cc60d 100644 --- a/sys/mips/include/intr_machdep.h +++ b/sys/mips/include/intr_machdep.h @@ -70,5 +70,6 @@ mips_intrcnt_inc(mips_intrcnt_t counter) { if (counter) atomic_add_long(counter, 1); + PCPU_INC(cnt.v_intr); } #endif /* !_MACHINE_INTR_MACHDEP_H_ */