Re: [patch] x86: handle legacy PIC interrupts on all the cpu's

From: Suresh Siddha
Date: Mon Mar 15 2010 - 17:59:24 EST


On Mon, 2010-03-15 at 14:51 -0700, Yinghai Lu wrote:
> > + for (irq = 0; irq < legacy_pic->nr_legacy_irqs; irq++)
> > + if (!IO_APIC_IRQ(irq))
> > + per_cpu(vector_irq, cpu)[IRQ0_VECTOR + irq] = irq;
>
> seems those three lines are not needed...

Those are needed for !CONFIG_X86_IO_APIC case.

thanks,
suresh

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/