/* 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, int active)
/* 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, int active)
{
	if (irq >= 0 && irq < ARRAY_SIZE(acpi_irq_penalty)) {
		if (active)
			acpi_irq_penalty[irq] += PIRQ_PENALTY_ISA_USED;
		else
			acpi_irq_penalty[irq] += PIRQ_PENALTY_PCI_USING;
	}
}