Re: [ACPI] [PATCH] 5 of 6 avoid double conversion of ACPI OS interrupt

Bjorn Helgaas
2004-03-09T23:26:54Z

ACPI: Avoid double conversion of ACPI OS interrupt

The global IRQ used to be converted once in
acpi_os_install_interrupt_handler() and again in
acpi_os_remove_interrupt_handler().

diff -Nru a/drivers/acpi/osl.c b/drivers/acpi/osl.c
--- a/drivers/acpi/osl.c Tue Mar 9 14:24:15 2004
+++ b/drivers/acpi/osl.c Tue Mar 9 14:24:15 2004
@@ -262,7 +262,7 @@
printk(KERN_ERR PREFIX "SCI (IRQ%d) allocation failed\n", irq);
return AE_NOT_ACQUIRED;
}
- acpi_irq_irq = irq;
+ acpi_irq_irq = global_irq;

return AE_OK;
}