]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Some changes to intr_execute_handlers():
authormarius <marius@FreeBSD.org>
Sat, 16 Apr 2005 15:02:16 +0000 (15:02 +0000)
committermarius <marius@FreeBSD.org>
Sat, 16 Apr 2005 15:02:16 +0000 (15:02 +0000)
commite6d4c30517b9bd5788e63959e943b75744cd716a
treeaa0539e56e64388306d3d94b3609615fc4e855ef
parented618419ee1f9adef4c19b87f3450057b2bfa83f
Some changes to intr_execute_handlers():
- Fix NULL pointer dereferences caused when an ithread or a handler is
  NULL which happens when a stray interrupt triggers after the respective
  device interrupt was torn down.
- Remove the critical section around INTR_FAST handlers which actually
  was a nested critical section. Both tl0_intr() and tl1_intr() already
  enter a critical section for calling intr_execute_handlers().

MFC after: 3 days
sys/sparc64/sparc64/intr_machdep.c