forked from Stichting-MINIX-Research-Foundation/minix
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SMP - clock calibration spurious IRQ deadlock fix
- this patch fixes a deadlock which may occur if we get a spurious interrupt while calibrating clocks during the boot time. Since we never handle interrupts while in the kernel (BKL locked) the interrupt code locks the lock. This is a different situation, a corner case, boot time only. We do not return to userspace but to the kernel, so the BKL is not unlocked. So we need irq handler which leaves the BKL unlocked. The clock handler does it already, this patch adds a dummy spurious irq handler for the same reason. It is better to handle the situation this way to keep the normal runtime code simple.
- Loading branch information
Tomas Hruby
committed
Jan 26, 2012
1 parent
c468f4e
commit 5c0927e
Showing
2 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters