]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/pci: Move the allocation of IRQs when there are no IOAPIC's to the end
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 6 Jun 2011 18:20:35 +0000 (14:20 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 19 Oct 2011 18:48:00 +0000 (14:48 -0400)
commitedab411cbed49a38f81ec8b902372f169a0e622c
treec80d73cc0738f9ceaad39074c02b16c010a28a41
parent400d91c3f114295abf429cdcfeab678e00fb292a
xen/pci: Move the allocation of IRQs when there are no IOAPIC's to the end

.. which means we can preset of NR_IRQS_LEGACY interrupts using
the 'acpi_get_override_irq' API before this loop.
This means that we can get the IRQ's polarity (and trigger) from either
the ACPI (or MP); or use the default values. This fixes a bug if we did
not have an IOAPIC we would not been able to preset the IRQ's polarity
if the MP table existed.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/pci/xen.c