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:
jhb 2010-07-12 20:45:37 +00:00
parent 6589854493
commit bb5074f0c3

View File

@ -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();
}
}