[ACPI] PNPACPI vs sound IRQ
http://bugme.osdl.org/show_bug.cgi?id=4016 Written-by: David Shaohua Li <shaohua.li@intel.com> Acked-by: Adam Belay <abelay@novell.com> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
committed by
Len Brown
parent
acf05f4b7f
commit
c9c3e457de
@@ -804,9 +804,12 @@ static int __init acpi_irq_penalty_update(char *str, int used)
|
||||
* There is no ISA_POSSIBLE weight, so we simply use
|
||||
* the (small) PCI_USING penalty.
|
||||
*/
|
||||
void acpi_penalize_isa_irq(int irq)
|
||||
void acpi_penalize_isa_irq(int irq, int active)
|
||||
{
|
||||
acpi_irq_penalty[irq] += PIRQ_PENALTY_PCI_USING;
|
||||
if (active)
|
||||
acpi_irq_penalty[irq] += PIRQ_PENALTY_ISA_USED;
|
||||
else
|
||||
acpi_irq_penalty[irq] += PIRQ_PENALTY_PCI_USING;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user