mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 01:22:07 +00:00
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 =
|
||||
link->irq.polarity;
|
||||
if (link->irq.triggering == ACPI_EDGE_SENSITIVE)
|
||||
resource->res.data.irq.shareable =
|
||||
resource->res.data.extended_irq.shareable =
|
||||
ACPI_EXCLUSIVE;
|
||||
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.interrupts[0] = irq;
|
||||
/* ignore resource_source, it's optional */
|
||||
|
Loading…
Reference in New Issue
Block a user