From: Jan Beulich Date: Fri, 16 Feb 2007 09:28:26 +0000 (-0800) Subject: [PATCH] small irq management simplification X-Git-Tag: v2.6.21-rc1~109 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=5575ddf75ca7e61d6f69b96368e03dd88edd4604;p=linux-2.6-omap-h63xx.git [PATCH] small irq management simplification Use mask_ack_irq() where possible. Signed-off-by: Jan Beulich Cc: Thomas Gleixner Cc: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index e6dc8b8839d..0133f4f9e9f 100644 --- a/kernel/irq/chip.c +++ b/kernel/irq/chip.c @@ -565,10 +565,8 @@ __set_irq_handler(unsigned int irq, irq_flow_handler_t handle, int is_chained, /* Uninstall? */ if (handle == handle_bad_irq) { - if (desc->chip != &no_irq_chip) { - desc->chip->mask(irq); - desc->chip->ack(irq); - } + if (desc->chip != &no_irq_chip) + mask_ack_irq(desc, irq); desc->status |= IRQ_DISABLED; desc->depth = 1; }