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.
This commit is contained in:
adrian 2015-05-16 23:51:24 +00:00
parent 4461554d62
commit 57daeeb7b4

View File

@ -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_ */