Remove a dead test. We already exclude NMI traps from this code in an
earlier condition. MFC after: 1 week
This commit is contained in:
parent
6589854493
commit
bb5074f0c3
@ -268,9 +268,9 @@ trap(struct trapframe *frame)
|
||||
|
||||
/*
|
||||
* We shouldn't enable interrupts while holding a
|
||||
* spin lock or servicing an NMI.
|
||||
* spin lock.
|
||||
*/
|
||||
if (type != T_NMI && td->td_md.md_spinlock_count == 0)
|
||||
if (td->td_md.md_spinlock_count == 0)
|
||||
enable_intr();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user