diff options
| author | Thomas Gleixner <[email protected]> | 2015-09-14 08:42:37 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2015-09-16 13:47:51 +0000 |
| commit | bd0b9ac405e1794d72533c3d487aa65b6b955a0c (patch) | |
| tree | 784e3d1f86a93bc32e0f2635d19399e15146a8e1 /arch/arm/include/asm/mach/irq.h | |
| parent | genirq: Move field 'msi_desc' from irq_data into irq_common_data (diff) | |
| download | kernel-bd0b9ac405e1794d72533c3d487aa65b6b955a0c.tar.gz kernel-bd0b9ac405e1794d72533c3d487aa65b6b955a0c.zip | |
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 <[email protected]>
Cc: Julia Lawall <[email protected]>
Cc: Jiang Liu <[email protected]>
Diffstat (limited to 'arch/arm/include/asm/mach/irq.h')
| -rw-r--r-- | arch/arm/include/asm/mach/irq.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/include/asm/mach/irq.h b/arch/arm/include/asm/mach/irq.h index 2092ee1e1300..de4634b51456 100644 --- a/arch/arm/include/asm/mach/irq.h +++ b/arch/arm/include/asm/mach/irq.h @@ -23,10 +23,10 @@ extern int show_fiq_list(struct seq_file *, int); /* * This is for easy migration, but should be changed in the source */ -#define do_bad_IRQ(irq,desc) \ +#define do_bad_IRQ(desc) \ do { \ raw_spin_lock(&desc->lock); \ - handle_bad_irq(irq, desc); \ + handle_bad_irq(desc); \ raw_spin_unlock(&desc->lock); \ } while(0) |
