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 Chadd 2015-05-16 23:51:24 +00:00
parent 5956adf2c6
commit 623d2d40af

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