Commit f3ed4eac authored by Len Brown's avatar Len Brown Committed by Len Brown

[ACPI] fix IRQ assignment regression with CONFIG_PNPACPI=y

http://bugzilla.kernel.org/show_bug.cgi?id=3762Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 3ec98b4c
......@@ -791,9 +791,16 @@ static int __init acpi_irq_penalty_update(char *str, int used)
return 1;
}
/*
* We'd like PNP to call this routine for the
* single ISA_USED value for each legacy device.
* But instead it calls us with each POSSIBLE setting.
* There is no ISA_POSSIBLE weight, so we simply use
* the (small) PCI_USING penalty.
*/
void acpi_penalize_isa_irq(int irq)
{
acpi_irq_penalty[irq] += PIRQ_PENALTY_ISA_USED;
acpi_irq_penalty[irq] += PIRQ_PENALTY_PCI_USING;
}
/*
......
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