]> git.hungrycats.org Git - linux/commit
[PATCH] ppc32: Don't synchronize in disable_irq() if no handler
authorPaul Mackerras <paulus@samba.org>
Thu, 3 Jun 2004 01:21:26 +0000 (18:21 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 3 Jun 2004 01:21:26 +0000 (18:21 -0700)
commitdcc579a642d9135b68e6f18063fad1aa41c14d70
treedb560c91f38e811e866c4c79fb0941c8a7a6f67b
parentd2b8378d0b3435deeec3ed671e1733bae547fb28
[PATCH] ppc32: Don't synchronize in disable_irq() if no handler

This patch is the ppc32 counterpart to a fix that went into
arch/i386/kernel/irq.c last October.  The bug was 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.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ppc/kernel/irq.c