From 164cf89e79ec28b66721b524634ed04707a6e6cb Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Wed, 22 Oct 2003 06:26:38 -0700 Subject: [PATCH] Revert bogus IRQ_INPROGRESS clear. It's incorrect for any user of the non-synchronizing irq_disable_nosync(). Cset exclude: torvalds@home.osdl.org|ChangeSet|20031013020955|28777 --- arch/i386/kernel/irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/i386/kernel/irq.c b/arch/i386/kernel/irq.c index 1525cf779ecf1..ec718b194847e 100644 --- a/arch/i386/kernel/irq.c +++ b/arch/i386/kernel/irq.c @@ -380,7 +380,7 @@ void enable_irq(unsigned int irq) spin_lock_irqsave(&desc->lock, flags); switch (desc->depth) { case 1: { - unsigned int status = desc->status & ~(IRQ_DISABLED | IRQ_INPROGRESS); + unsigned int status = desc->status & ~IRQ_DISABLED; desc->status = status; if ((status & (IRQ_PENDING | IRQ_REPLAY)) == IRQ_PENDING) { desc->status = status | IRQ_REPLAY; -- 2.53.0