for (j=0; j<NR_CPUS; j++) if (cpu_online(j)) seq_printf(p, "CPU%d       ",j); 
for_each_cpu(j) seq_printf(p, "CPU%d       ",j); 
int show_interrupts(struct seq_file *p, void *v){	int i = *(loff_t *) v, j;	struct irqaction * action;	unsigned long flags;	if (i == 0) {		seq_printf(p, "           ");		for (j=0; j<NR_CPUS; j++)			if (cpu_online(j))				seq_printf(p, "CPU%d       ",j);		seq_putc(p, '\n');	}	if (i < NR_IRQS) {		spin_lock_irqsave(&irq_desc[i].lock, flags);		action = irq_desc[i].action;		if (!action)			goto skip;		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);		seq_putc(p, '\n');skip:		spin_unlock_irqrestore(&irq_desc[i].lock, flags);	} else if (i == NR_IRQS) {		seq_printf(p, "NMI: ");		for (j = 0; j < NR_CPUS; j++)			if (cpu_online(j))				seq_printf(p, "%10u ", nmi_count(j));		seq_putc(p, '\n');#ifdef CONFIG_X86_LOCAL_APIC		seq_printf(p, "LOC: ");		for (j = 0; j < NR_CPUS; j++)			if (cpu_online(j))				seq_printf(p, "%10u ",					per_cpu(irq_stat,j).apic_timer_irqs);		seq_putc(p, '\n');#endif		seq_printf(p, "ERR: %10u\n", atomic_read(&irq_err_count));#if defined(CONFIG_X86_IO_APIC)		seq_printf(p, "MIS: %10u\n", atomic_read(&irq_mis_count));#endif	}	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/f370513640492641b4046bfd9a6e4714f6ae530d/irq.c/clean/arch/i386/kernel/irq.c