Move the logic deciding whether to grab the kernel lock or not, deeper in the
authormiod <miod@openbsd.org>
Mon, 18 May 2015 04:06:37 +0000 (04:06 +0000)
committermiod <miod@openbsd.org>
Mon, 18 May 2015 04:06:37 +0000 (04:06 +0000)
commitab4a10afba640863e864d0e672716a5fbfb49e1f
treed17beed512c50db8a8051a55cf67eb06ed842eeb
parent1b3c3ba0b914ab28a35c0ee0a65472bef46451e1
Move the logic deciding whether to grab the kernel lock or not, deeper in the
interrupt logic, making sure the lock is not taken for clock interrupts.
Tested on aviion and luna88k.
sys/arch/aviion/aviion/av400_machdep.c
sys/arch/aviion/aviion/av530_machdep.c
sys/arch/luna88k/luna88k/isr.c
sys/arch/luna88k/luna88k/machdep.c