From: Thomas Gleixner Date: Wed, 2 Feb 2011 21:41:17 +0000 (+0000) Subject: genirq: Do not fiddle with IRQ_MASKED in handle_edge_irq() X-Git-Tag: v2.6.39-rc1~503^2~9^2~64 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d78f8dd36b90626106ce19cb2e6828b0dc39447e;p=platform%2Fupstream%2Fkernel-adaptation-pc.git genirq: Do not fiddle with IRQ_MASKED in handle_edge_irq() IRQ_MASKED is set in mask_ack_irq() anyway. Remove it from handle_edge_irq() to allow simpler ab^HHreuse of that function. Signed-off-by: Thomas Gleixner Cc: Peter Zijlstra LKML-Reference: <20110202212551.918484270@linutronix.de> --- diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index 43c62ca..2c30b78 100644 --- a/kernel/irq/chip.c +++ b/kernel/irq/chip.c @@ -611,7 +611,7 @@ handle_edge_irq(unsigned int irq, struct irq_desc *desc) if (unlikely((desc->status & (IRQ_INPROGRESS | IRQ_DISABLED)) || !desc->action)) { if (!irq_check_poll(desc)) { - desc->status |= (IRQ_PENDING | IRQ_MASKED); + desc->status |= IRQ_PENDING; mask_ack_irq(desc); goto out_unlock; }