seq_printf(p, "  %s", action->name); for (action=action->next; action; action = action->next) seq_printf(p, ", %s", action->name); seq_putc(p, '\n'); skip: spin_unlock_irqrestore(&irq_desc[j].lock, flags); } else if (i == NR_IRQS) 
seq_printf(p, "  %s", action->name); for (action=action->next; action; action = action->next) seq_printf(p, ", %s", action->name); seq_putc(p, '\n'); }  spin_unlock_irqrestore(&irq_desc[irq].lock, flags); } else if (irq == NR_IRQS) 
int show_interrupts(struct seq_file *p, void *v){	int i = *(loff_t *) v;	struct irqaction * action;	unsigned long flags;	if (i == 0) {		seq_puts(p, "           ");		for (i=0; i < 1 /*smp_num_cpus*/; i++)			seq_printf(p, "CPU%d       ", i);		seq_putc(p, '\n');	}	if (i < NR_IRQS) {		int j, count, num;		const char *type_name = irq_desc[i].handler->typename;		spin_lock_irqsave(&irq_desc[j].lock, flags);		action = irq_desc[i].action;		if (!action) 			goto skip;		count = 0;		num = -1;		for (j = 0; j < NR_IRQS; j++)			if (irq_desc[j].handler->typename == type_name) {				if (i == j)					num = count;				count++;			}		seq_printf(p, "%3d: ",i);		seq_printf(p, "%10u ", kstat_irqs(i));		if (count > 1) {			int prec = (num >= 100 ? 3 : num >= 10 ? 2 : 1);			seq_printf(p, " %*s%d", 14 - prec, type_name, num);		} else			seq_printf(p, " %14s", type_name);				seq_printf(p, "  %s", action->name);		for (action=action->next; action; action = action->next)			seq_printf(p, ", %s", action->name);		seq_putc(p, '\n');skip:		spin_unlock_irqrestore(&irq_desc[j].lock, flags);	} else if (i == NR_IRQS)		seq_printf(p, "ERR: %10lu\n", irq_err_count);	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/228322f13fe20bd29e81fca8341cc1fc7ffc5929/irq.c/buggy/arch/v850/kernel/irq.c