Increate cnt.v_intr on interrupt.
This commit is contained in:
parent
03b0b02163
commit
c162ce855c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user