Skip to content

Commit bc5dfcf

Browse files
committed
s390: Cio: Use the core irq stats function
Let the core do the irq_desc resolution. No functional change. Signed-off-by: Thomas Gleixner <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Martin Schwidefsky <[email protected]> Cc: s390 <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
1 parent a21748c commit bc5dfcf

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

drivers/s390/cio/cio.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -584,8 +584,6 @@ static irqreturn_t do_cio_interrupt(int irq, void *dummy)
584584
return IRQ_HANDLED;
585585
}
586586

587-
static struct irq_desc *irq_desc_io;
588-
589587
static struct irqaction io_interrupt = {
590588
.name = "IO",
591589
.handler = do_cio_interrupt,
@@ -596,7 +594,6 @@ void __init init_cio_interrupts(void)
596594
irq_set_chip_and_handler(IO_INTERRUPT,
597595
&dummy_irq_chip, handle_percpu_irq);
598596
setup_irq(IO_INTERRUPT, &io_interrupt);
599-
irq_desc_io = irq_to_desc(IO_INTERRUPT);
600597
}
601598

602599
#ifdef CONFIG_CCW_CONSOLE
@@ -623,7 +620,7 @@ void cio_tsch(struct subchannel *sch)
623620
local_bh_disable();
624621
irq_enter();
625622
}
626-
kstat_incr_irqs_this_cpu(IO_INTERRUPT, irq_desc_io);
623+
kstat_incr_irq_this_cpu(IO_INTERRUPT);
627624
if (sch->driver && sch->driver->irq)
628625
sch->driver->irq(sch);
629626
else

0 commit comments

Comments
 (0)