svn commit: r209956 - head/sys/amd64/amd64
John Baldwin
jhb at FreeBSD.org
Mon Jul 12 20:45:38 UTC 2010
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();
}
}
More information about the svn-src-all
mailing list