[PATCH][2.4.26 x86_64] fix ACPI PRT entry handling

From: Andy Currid
Date: Fri May 21 2004 - 17:24:50 EST



This patch fixes a PCI interrupt routing bug that shows up when running
on x86_64 with ACPI and IOAPIC functionality enabled. Without this patch
in place, the code attempts to route all configurable PCI interrupts to
IRQ 0.

Regards

Andy
--
Andy Currid, NVIDIA Corporation
acurrid@xxxxxxxxxx 408 566 6743

--
diff -Nupr linux-2.4.26/arch/x86_64/kernel/mpparse.c
linux-2.4.26-patch/arch/x86_64/kernel/mpparse.c
--- linux-2.4.26/arch/x86_64/kernel/mpparse.c 2004-05-21
06:39:40.000000000 -0700
+++ linux-2.4.26-patch/arch/x86_64/kernel/mpparse.c 2004-05-21
06:39:33.000000000 -0700
@@ -942,8 +942,6 @@ void __init mp_parse_prt (void)
irq = entry->link.index;
}

- irq = entry->link.index;
-
/* Don't set up the ACPI SCI because it's already set up
*/
if (acpi_fadt.sci_int == irq) {
entry->irq = irq; /*we still need to set
entry's irq*/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/