* Yinghai Lu <yinghai@xxxxxxxxxx> wrote: > + irq_attr->ioapic = apic; > + irq_attr->ioapic_pin = mp_irqs[i].dstirq; > + irq_attr->trigger = irq_trigger(i); > + irq_attr->polarity = irq_polarity(i); > + irq_attr->ioapic = apic; > + irq_attr->ioapic_pin = mp_irqs[i].dstirq; > + irq_attr->trigger = irq_trigger(i); > + irq_attr->polarity = irq_polarity(i); Shouldnt this be factored out ino a helper function? Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html