genirq: Remove irq argument from irq flow handlers
Most interrupt flow handlers do not use the irq argument. Those few which use it can retrieve the irq number from the irq descriptor. Remove the argument. Search and replace was done with coccinelle and some extra helper scripts around it. Thanks to Julia for her help! Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Julia Lawall <Julia.Lawall@lip6.fr> Cc: Jiang Liu <jiang.liu@linux.intel.com>
This commit is contained in:
@@ -96,7 +96,7 @@ struct armctrl_ic {
|
||||
static struct armctrl_ic intc __read_mostly;
|
||||
static void __exception_irq_entry bcm2835_handle_irq(
|
||||
struct pt_regs *regs);
|
||||
static void bcm2836_chained_handle_irq(unsigned int irq, struct irq_desc *desc);
|
||||
static void bcm2836_chained_handle_irq(struct irq_desc *desc);
|
||||
|
||||
static void armctrl_mask_irq(struct irq_data *d)
|
||||
{
|
||||
@@ -245,7 +245,7 @@ static void __exception_irq_entry bcm2835_handle_irq(
|
||||
handle_IRQ(irq_linear_revmap(intc.domain, hwirq), regs);
|
||||
}
|
||||
|
||||
static void bcm2836_chained_handle_irq(unsigned int irq, struct irq_desc *desc)
|
||||
static void bcm2836_chained_handle_irq(struct irq_desc *desc)
|
||||
{
|
||||
u32 hwirq;
|
||||
|
||||
|
Reference in New Issue
Block a user