Commit e17d30b6 authored by Paul Mackerras's avatar Paul Mackerras

PPC32: use kstat_this_cpu in arch/ppc/kernel/irq.c

parent 51544df2
......@@ -420,10 +420,9 @@ void ppc_irq_dispatch_handler(struct pt_regs *regs, int irq)
{
int status;
struct irqaction *action;
int cpu = smp_processor_id();
irq_desc_t *desc = irq_desc + irq;
kstat_cpu(cpu).irqs[irq]++;
kstat_this_cpu.irqs[irq]++;
spin_lock(&desc->lock);
ack_irq(irq);
/*
......
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