diff options
author | Jiang Liu <jiang.liu@linux.intel.com> | 2015-09-17 14:02:46 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-09-26 01:53:07 +0200 |
commit | d323efc786910bcc0c8f8b9f97780c70544ac4df (patch) | |
tree | 10537319057b7a5f8c3877b1b47d0c778f8f9f28 /drivers/acpi | |
parent | 5ebc76035303016ec41bb752bec156ea9fde7c34 (diff) | |
download | op-kernel-dev-d323efc786910bcc0c8f8b9f97780c70544ac4df.zip op-kernel-dev-d323efc786910bcc0c8f8b9f97780c70544ac4df.tar.gz |
ACPI / PCI: Remove duplicated penalty on SCI IRQ
Now we have dedicated interface acpi_penalize_sci_irq() to penalize
ISA IRQ used by ACPI SCI, so remove duplicated code to penalize ACPI SCI
in acpi_irq_penalty_init().
Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/pci_link.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/acpi/pci_link.c b/drivers/acpi/pci_link.c index 246e50d..7c8408b 100644 --- a/drivers/acpi/pci_link.c +++ b/drivers/acpi/pci_link.c @@ -498,8 +498,7 @@ int __init acpi_irq_penalty_init(void) PIRQ_PENALTY_PCI_POSSIBLE; } } - /* Add a penalty for the SCI */ - acpi_irq_penalty[acpi_gbl_FADT.sci_interrupt] += PIRQ_PENALTY_PCI_USING; + return 0; } |