ACPI: pci_link: remove acpi_irq_balance_set() interface
commit32836259ff25ce97010569706cd33ba94de81d62
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Wed, 5 Nov 2008 23:17:52 +0000 (5 16:17 -0700)
committerLen Brown <len.brown@intel.com>
Wed, 12 Nov 2008 02:12:05 +0000 (11 21:12 -0500)
tree7411cfd8879b10653a20196a064f8fcc7df00e13
parent56960b546a88844a6f5295a9f81aab9e6b81edc9
ACPI: pci_link: remove acpi_irq_balance_set() interface

This removes the acpi_irq_balance_set() interface from the PCI
interrupt link driver.

x86 used acpi_irq_balance_set() to tell the PCI interrupt link
driver to configure links to minimize IRQ sharing.  But the link
driver can easily figure out whether to turn on IRQ balancing
based on the IRQ model (PIC/IOAPIC/etc), so we can get rid of
that external interface.

It's better for the driver to figure this out at init-time.  If
we set it externally via the x86 code, the interface reduces
modularity, and we depend on the fact that acpi_process_madt()
happens before we process the kernel command line.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
arch/x86/include/asm/acpi.h
arch/x86/kernel/acpi/boot.c
drivers/acpi/pci_link.c