disable_irq() should synchronize with irq handler only if one exists.
commitebf7c862050410f5249ecf58dbce821eb2adc714
authorLinus Torvalds <torvalds@home.osdl.org>
Wed, 8 Oct 2003 13:47:40 +0000 (8 06:47 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 8 Oct 2003 13:47:40 +0000 (8 06:47 -0700)
treeac053ef1e9592abd6842f5350786df2fcd783154
parent8462805c5be1fa945c9877b385d92dc7c66fa01b
disable_irq() should synchronize with irq handler only if one exists.

Noted by Al Viro: if no handler exists (and we have IRQ_INPROGRESS set
because of an earlier irq that got through), synchronize_irq() will
end up waiting forever.
arch/i386/kernel/irq.c