Merge branch 'acpi-pci'
* acpi-pci: ACPI/PCI: pci_link: use extended_irq union member when setting ext-irq shareable
This commit is contained in:
commit
0db0d142e2
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user