]> Pileus Git - ~andy/linux/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>
Mon, 11 Jul 2011 17:19:31 +0000 (13:19 -0400)
commit9b6519db5e226c0c83acddf788b7091b751fbb75
tree8424f6e499bc96e6fe68d554f39dbf422b553d46
parenta0ee05670915006564962114d4211dd578a8b28a
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