Author: jhb
Date: Mon Jul 12 20:45:37 2010
New Revision: 209956
URL: http://svn.freebsd.org/changeset/base/209956
Log:
Remove a dead test. We already exclude NMI traps from this code in an
earlier condition.
MFC after: 1 week
Modified:
head/sys/amd64/amd64/trap.c
Modified: head/sys/amd64/amd64/trap.c
==============================================================================
--- head/sys/amd64/amd64/trap.c Mon Jul 12 19:59:15 2010 (r209955)
+++ head/sys/amd64/amd64/trap.c Mon Jul 12 20:45:37 2010 (r209956)
@@ -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();
}
}
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"