2.4 PATCH: Fix acpi for bigsur

From: H. J. Lu <hjl_at_lucon.org>
Date: 2003-08-07 01:45:04
I need this patch to get the current 2.4 kernel to boot on bigsur.


H.J.
----
--- linux/drivers/acpi/osl.c.acpi	Mon Jul 21 15:27:59 2003
+++ linux/drivers/acpi/osl.c	Wed Aug  6 07:34:41 2003
@@ -251,7 +251,12 @@ acpi_os_install_interrupt_handler(u32 ir
 	irq = acpi_fadt.sci_int;
 
 #ifdef CONFIG_IA64
-	irq = gsi_to_vector(irq);
+	irq = acpi_irq_to_vector (irq);
+	if (irq < 0) {
+		printk(KERN_ERR PREFIX "SCI (IRQ%d/%d) not registerd\n",
+		       irq, acpi_fadt.sci_int);
+		return AE_OK;
+	}
 #endif
 	acpi_irq_irq = irq;
 	acpi_irq_handler = handler;
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Wed Aug 6 11:45:32 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:16 EST