Commit 0db0d142 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki

Merge branch 'acpi-pci'

* acpi-pci:
  ACPI/PCI: pci_link: use extended_irq union member when setting ext-irq shareable
parents 2b6022a3 1c5e1cdd
...@@ -322,10 +322,10 @@ static int acpi_pci_link_set(struct acpi_pci_link *link, int irq) ...@@ -322,10 +322,10 @@ static int acpi_pci_link_set(struct acpi_pci_link *link, int irq)
resource->res.data.extended_irq.polarity = resource->res.data.extended_irq.polarity =
link->irq.polarity; link->irq.polarity;
if (link->irq.triggering == ACPI_EDGE_SENSITIVE) if (link->irq.triggering == ACPI_EDGE_SENSITIVE)
resource->res.data.irq.shareable = resource->res.data.extended_irq.shareable =
ACPI_EXCLUSIVE; ACPI_EXCLUSIVE;
else else
resource->res.data.irq.shareable = ACPI_SHARED; resource->res.data.extended_irq.shareable = ACPI_SHARED;
resource->res.data.extended_irq.interrupt_count = 1; resource->res.data.extended_irq.interrupt_count = 1;
resource->res.data.extended_irq.interrupts[0] = irq; resource->res.data.extended_irq.interrupts[0] = irq;
/* ignore resource_source, it's optional */ /* ignore resource_source, it's optional */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment