cvs commit: src/sys/kern kern_intr.c
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Sat Nov 26 06:42:07 PST 2005
sephe 2005/11/26 06:36:21 PST
DragonFly src repository
Modified files:
sys/kern kern_intr.c
Log:
In unregister_int():
- Don't update i_mplock_required, if the unregistering intr record is not found
- Use a local variable `rec0' to test whether after the unregistering there
are still intr records which require MP lock. `rec' can't be reused here,
since `rec' is the intr record to free, if it is reused in this test, *wrong*
intr record will be freed
Revision Changes Path
1.38 +12 -10 src/sys/kern/kern_intr.c
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_intr.c.diff?r1=1.37&r2=1.38&f=u
More information about the Commits
mailing list