remove intr disable
This commit is contained in:
parent
e2214cc899
commit
5dba9a4214
|
@ -1047,8 +1047,6 @@ static int list_irq(int argc, char**argv)
|
|||
}
|
||||
}
|
||||
|
||||
level = rt_hw_interrupt_disable();
|
||||
|
||||
rt_kprintf("%-*.s %-*.s %s %-*.s %-*.s %-*.s %-*.sUsers%-*.s",
|
||||
6, "IRQ",
|
||||
6, "HW-IRQ",
|
||||
|
@ -1150,8 +1148,6 @@ static int list_irq(int argc, char**argv)
|
|||
++irq_nr;
|
||||
}
|
||||
|
||||
rt_hw_interrupt_enable(level);
|
||||
|
||||
rt_kprintf("%d IRQs found\n", irq_nr);
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue