seq_printf(p, "%2d: %10u %c %s", i, kstat_this_cpu.irqs[i], (action->flags & SA_INTERRUPT) ? '+' : ' ', action->name); for (action = action->next; action; action = action->next) { seq_printf(p, ",%s %s", (action->flags & SA_INTERRUPT) ? " +" : "", action->name); } 
seq_printf(p, "%3d: ",i); #ifndef CONFIG_SMP seq_printf(p, "%10u ", kstat_irqs(i)); #else for (j = 0; j < NR_CPUS; j++) if (cpu_online(j)) seq_printf(p, "%10u ", kstat_cpu(j).irqs[i]); #endif seq_printf(p, " %14s", irq_desc[i].handler->typename); seq_printf(p, "  %s", action->name);  for (action=action->next; action; action = action->next) seq_printf(p, ", %s", action->name);  
int show_interrupts(struct seq_file *p, void *v){	int i = *(loff_t *) v;	struct irqaction * action;	unsigned long flags;	if (i < NR_IRQS) {		local_irq_save(flags);		action = irq_action[i];		if (!action) 			goto skip;		seq_printf(p, "%2d: %10u %c %s",			i, kstat_this_cpu.irqs[i],			(action->flags & SA_INTERRUPT) ? '+' : ' ',			action->name);		for (action = action->next; action; action = action->next) {			seq_printf(p, ",%s %s",				(action->flags & SA_INTERRUPT) ? " +" : "",				action->name);		}		seq_putc(p, '\n');skip:		local_irq_restore(flags);	}	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/2e0cea1decf7f21df0496571c218df3b3b8cce99/irq.c/clean/arch/cris/kernel/irq.c