@@ -609,7 +609,7 @@ static const struct irq_domain_ops mpic_irq_ops = {
};
#ifdef CONFIG_PCI_MSI
-static void mpic_handle_msi_irq(struct pt_regs *regs, bool is_chained)
+static void mpic_handle_msi_irq(void)
{
unsigned long cause, nr;
@@ -622,7 +622,7 @@ static void mpic_handle_msi_irq(struct pt_regs *regs, bool is_chained)
nr - msi_doorbell_start());
}
#else
-static void mpic_handle_msi_irq(struct pt_regs *r, bool b) {}
+static void mpic_handle_msi_irq(void) {}
#endif
#ifdef CONFIG_SMP
@@ -662,7 +662,7 @@ static void mpic_handle_cascade_irq(struct irq_desc *desc)
continue;
if (hwirq == 0 || hwirq == 1) {
- mpic_handle_msi_irq(NULL, true);
+ mpic_handle_msi_irq();
continue;
}
@@ -691,7 +691,7 @@ static void __exception_irq_entry mpic_handle_irq(struct pt_regs *regs)
/* MSI handling */
if (hwirq == 1)
- mpic_handle_msi_irq(regs, false);
+ mpic_handle_msi_irq();
/* IPI Handling */
if (hwirq == 0)
Drop arguments from the mpic_handle_msi_irq() function, they are not used. Signed-off-by: Marek Behún <kabel@kernel.org> --- drivers/irqchip/irq-armada-370-xp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)