Subject: CVS commit: src/sys/arch/powerpc/ibm4xx
To: None <source-changes@NetBSD.org>
From: Jachym Holecek <freza@netbsd.org>
List: source-changes
Date: 07/10/2006 12:52:14
Module Name: src
Committed By: freza
Date: Mon Jul 10 12:52:14 UTC 2006
Modified Files:
src/sys/arch/powerpc/ibm4xx: intr.c
Log Message:
Fix recent ibm4xx/intr.c rework:
- Recalculate masks _after_ new interrupt handler is enqueued, otherwise
the very last one won't ever be enabled (from hannken@)
- We can't use splhigh() to protect intr_calculatemasks() since it would
use soon-to-be-invalid mask. Instead, fiddle PSL_EE directly as we do
in other places.
Reviewed and tested (evbppc/explora) by hannken@
To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 src/sys/arch/powerpc/ibm4xx/intr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.