int arch_show_interrupts(struct seq_file *p, int prec) { #ifdef CONFIG_FIQ show_fiq_list(p, prec); #endif #ifdef CONFIG_SMP show_ipi_list(p, prec); #endif seq_printf(p, "%*s: %10lu\n", prec, "Err", irq_err_count); return 0; }
int arch_show_interrupts(struct seq_file *p, int prec) { #ifdef CONFIG_FIQ show_fiq_list(p, prec); #endif #ifdef CONFIG_SMP show_ipi_list(p, prec); #endif #if defined(CONFIG_ARCH_ARMADA_XP) && defined(CONFIG_PERF_EVENTS) show_local_pmu_irqs(p, prec); #endif seq_printf(p, "%*s: %10lu\n", prec, "Err", irq_err_count); return 0; }
int show_interrupts(struct seq_file *p, void *v) { int i = *(loff_t *) v; struct irqaction * action; if (i < NR_IRQS) { action = irq_desc[i].action; if (!action) continue; seq_printf(p, "%3d: %10u ", i, kstat_irqs(i)); seq_printf(p, " %s", action->name); for (action = action->next; action; action = action->next) { seq_printf(p, ", %s", action->name); } seq_putc(p, '\n'); } else if (i == NR_IRQS) { show_fiq_list(p, v); seq_printf(p, "Err: %10lu\n", irq_err_count); } return 0; }