Commit 6f0c4aa6 authored by Helge Deller's avatar Helge Deller

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:
cd85d551 parisc: more irq statistics in /proc/interrupts
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent f6d12eef
...@@ -21,7 +21,6 @@ typedef struct { ...@@ -21,7 +21,6 @@ typedef struct {
unsigned int irq_stack_usage; unsigned int irq_stack_usage;
#ifdef CONFIG_SMP #ifdef CONFIG_SMP
unsigned int irq_resched_count; unsigned int irq_resched_count;
unsigned int irq_call_count;
#endif #endif
unsigned int irq_unaligned_count; unsigned int irq_unaligned_count;
unsigned int irq_fpassist_count; unsigned int irq_fpassist_count;
......
...@@ -179,10 +179,6 @@ int arch_show_interrupts(struct seq_file *p, int prec) ...@@ -179,10 +179,6 @@ int arch_show_interrupts(struct seq_file *p, int prec)
for_each_online_cpu(j) for_each_online_cpu(j)
seq_printf(p, "%10u ", irq_stats(j)->irq_resched_count); seq_printf(p, "%10u ", irq_stats(j)->irq_resched_count);
seq_puts(p, " Rescheduling interrupts\n"); seq_puts(p, " Rescheduling interrupts\n");
seq_printf(p, "%*s: ", prec, "CAL");
for_each_online_cpu(j)
seq_printf(p, "%10u ", irq_stats(j)->irq_call_count);
seq_puts(p, " Function call interrupts\n");
#endif #endif
seq_printf(p, "%*s: ", prec, "UAH"); seq_printf(p, "%*s: ", prec, "UAH");
for_each_online_cpu(j) for_each_online_cpu(j)
......
...@@ -125,11 +125,6 @@ ipi_interrupt(int irq, void *dev_id) ...@@ -125,11 +125,6 @@ ipi_interrupt(int irq, void *dev_id)
unsigned long ops; unsigned long ops;
unsigned long flags; unsigned long flags;
/* Count this now; we may make a call that never returns. */
inc_irq_stat(irq_call_count);
mb(); /* Order interrupt and bit testing. */
for (;;) { for (;;) {
spinlock_t *lock = &per_cpu(ipi_lock, this_cpu); spinlock_t *lock = &per_cpu(ipi_lock, this_cpu);
spin_lock_irqsave(lock, flags); spin_lock_irqsave(lock, flags);
......
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