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:
@@ -53,7 +53,7 @@ static inline unsigned int leon_eirq_get(int cpu)
|
||||
}
|
||||
|
||||
/* Handle one or multiple IRQs from the extended interrupt controller */
|
||||
static void leon_handle_ext_irq(unsigned int irq, struct irq_desc *desc)
|
||||
static void leon_handle_ext_irq(struct irq_desc *desc)
|
||||
{
|
||||
unsigned int eirq;
|
||||
struct irq_bucket *p;
|
||||
|
@@ -357,7 +357,7 @@ static struct irq_chip grpci1_irq = {
|
||||
};
|
||||
|
||||
/* Handle one or multiple IRQs from the PCI core */
|
||||
static void grpci1_pci_flow_irq(unsigned int irq, struct irq_desc *desc)
|
||||
static void grpci1_pci_flow_irq(struct irq_desc *desc)
|
||||
{
|
||||
struct grpci1_priv *priv = grpci1priv;
|
||||
int i, ack = 0;
|
||||
|
@@ -498,7 +498,7 @@ static struct irq_chip grpci2_irq = {
|
||||
};
|
||||
|
||||
/* Handle one or multiple IRQs from the PCI core */
|
||||
static void grpci2_pci_flow_irq(unsigned int irq, struct irq_desc *desc)
|
||||
static void grpci2_pci_flow_irq(struct irq_desc *desc)
|
||||
{
|
||||
struct grpci2_priv *priv = grpci2priv;
|
||||
int i, ack = 0;
|
||||
|
Reference in New Issue
Block a user