Commit c2609541 authored by Emil Renner Berthing's avatar Emil Renner Berthing Committed by Thomas Gleixner

genirq: Use new tasklet API for resend_tasklet

This converts the resend_tasklet to use the new API in
commit 12cc923f ("tasklet: Introduce new initialization API")

The new API changes the argument passed to the callback function, but
fortunately the argument isn't used so it is straight forward to use
DECLARE_TASKLET() rather than DECLARE_TASKLET_OLD().
Signed-off-by: default avatarEmil Renner Berthing <kernel@esmil.dk>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210123182456.6521-1-esmil@mailme.dk
parent 6ee1d745
...@@ -27,7 +27,7 @@ static DECLARE_BITMAP(irqs_resend, IRQ_BITMAP_BITS); ...@@ -27,7 +27,7 @@ static DECLARE_BITMAP(irqs_resend, IRQ_BITMAP_BITS);
/* /*
* Run software resends of IRQ's * Run software resends of IRQ's
*/ */
static void resend_irqs(unsigned long arg) static void resend_irqs(struct tasklet_struct *unused)
{ {
struct irq_desc *desc; struct irq_desc *desc;
int irq; int irq;
...@@ -45,7 +45,7 @@ static void resend_irqs(unsigned long arg) ...@@ -45,7 +45,7 @@ static void resend_irqs(unsigned long arg)
} }
/* Tasklet to handle resend: */ /* Tasklet to handle resend: */
static DECLARE_TASKLET_OLD(resend_tasklet, resend_irqs); static DECLARE_TASKLET(resend_tasklet, resend_irqs);
static int irq_sw_resend(struct irq_desc *desc) static int irq_sw_resend(struct irq_desc *desc)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment