irqchip: exynos-combiner: call handle_bad_irq directly
authorPankaj Dubey <pankaj.dubey@samsung.com>
Thu, 13 Feb 2014 22:27:40 +0000 (07:27 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 13 Feb 2014 22:27:40 +0000 (07:27 +0900)
This patch is inspired from following commit aec00956
(irqchip: gic: Call handle_bad_irq() directly)

Also this will help in removing unwanted inclusion
of header file "asm/mach/irq.h"

Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
drivers/irqchip/exynos-combiner.c

index 40e6440348ff5d9ace76ff17510bbf40ae648415..f8636a650cf6489a16d21b09df4e6c49127c5299 100644 (file)
@@ -17,7 +17,6 @@
 #include <linux/irqchip/chained_irq.h>
 #include <linux/of_address.h>
 #include <linux/of_irq.h>
-#include <asm/mach/irq.h>
 
 #include "irqchip.h"
 
@@ -81,7 +80,7 @@ static void combiner_handle_cascade_irq(unsigned int irq, struct irq_desc *desc)
        cascade_irq = irq_find_mapping(combiner_irq_domain, combiner_irq);
 
        if (unlikely(!cascade_irq))
-               do_bad_IRQ(irq, desc);
+               handle_bad_irq(irq, desc);
        else
                generic_handle_irq(cascade_irq);