Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

parisc: do not count IPI calls twice

The number of IPI calls is already visible as per-cpu IPI irq counters
in/proc/cpuinfo, so let's drop this additional counting.

This partly reverts:
cd85d55 parisc: more irq statistics in /proc/interrupts

Signed-off-by: Helge Deller <deller@gmx.de>

-10
-1
arch/parisc/include/asm/hardirq.h
··· 21 21 unsigned int irq_stack_usage; 22 22 #ifdef CONFIG_SMP 23 23 unsigned int irq_resched_count; 24 - unsigned int irq_call_count; 25 24 #endif 26 25 unsigned int irq_unaligned_count; 27 26 unsigned int irq_fpassist_count;
-4
arch/parisc/kernel/irq.c
··· 179 179 for_each_online_cpu(j) 180 180 seq_printf(p, "%10u ", irq_stats(j)->irq_resched_count); 181 181 seq_puts(p, " Rescheduling interrupts\n"); 182 - seq_printf(p, "%*s: ", prec, "CAL"); 183 - for_each_online_cpu(j) 184 - seq_printf(p, "%10u ", irq_stats(j)->irq_call_count); 185 - seq_puts(p, " Function call interrupts\n"); 186 182 #endif 187 183 seq_printf(p, "%*s: ", prec, "UAH"); 188 184 for_each_online_cpu(j)
-5
arch/parisc/kernel/smp.c
··· 125 125 unsigned long ops; 126 126 unsigned long flags; 127 127 128 - /* Count this now; we may make a call that never returns. */ 129 - inc_irq_stat(irq_call_count); 130 - 131 - mb(); /* Order interrupt and bit testing. */ 132 - 133 128 for (;;) { 134 129 spinlock_t *lock = &per_cpu(ipi_lock, this_cpu); 135 130 spin_lock_irqsave(lock, flags);