Increate cnt.v_intr on interrupt.

This commit is contained in:
Olivier Houchard 2006-11-08 01:32:24 +00:00
parent 03b0b02163
commit c162ce855c

View File

@ -106,6 +106,7 @@ arm_handler_execute(struct trapframe *frame, int irqnb)
struct thread *td = curthread;
int i, thread;
PCPU_LAZY_INC(cnt.v_intr);
td->td_intr_nesting_level++;
while ((i = arm_get_next_irq()) != -1) {
arm_mask_irq(i);