Revert "ACPI, PCI, IRQ: remove redundant code in acpi_irq_penalty_init()"
authorSinan Kaya <okaya@codeaurora.org>
Wed, 29 Jun 2016 08:27:36 +0000 (04:27 -0400)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 1 Jul 2016 23:38:34 +0000 (01:38 +0200)
commit487cf917ed0d12afaf403d9d77684bf44b8c13be
tree32d3e2557cddb92a7b45e44f38c3350cba542d6c
parent4a6e68bf96c1fa293717d2f00a68a68c92fa4150
Revert "ACPI, PCI, IRQ: remove redundant code in acpi_irq_penalty_init()"

Trying to make the ISA and PCI init functionality common turned out
to be a bad idea, because the ISA path depends on external
functionality.

Restore the previous behavior and limit the refactoring to PCI
interrupts only.

Fixes: 1fcb6a813c4f "ACPI,PCI,IRQ: remove redundant code in acpi_irq_penalty_init()"
Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Tested-by: Wim Osterholt <wim@djo.tudelft.nl>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/x86/pci/acpi.c
drivers/acpi/pci_link.c
include/acpi/acpi_drivers.h