fix for test8 kernel
The attached patch fixes the problem that caused grief on some machines (primarily B1 Big Surs, it seems). The problem showed itself as an infinite stream of "unexpected irq 0" messages. The fix is due to Asit Mallick and fixes a problem I created when I goofed in applying another patch.
--david
diff -urN linux-2.4.0-test8-ia64-000908/drivers/acpi/acpiconf.c linux-2.4.0-test8-ia64-000908.ji/drivers/acpi/acpiconf.c
--- linux-2.4.0-test8-ia64-000908/drivers/acpi/acpiconf.c Sun Sep 10
23:51:21 2000
+++ linux-2.4.0-test8-ia64-000908.ji/drivers/acpi/acpiconf.c Mon Sep 11
14:12:03 2000
@@ -311,7 +311,7 @@
pprts = (PCI_ROUTING_TABLE **)prts;
for ( i = 0; i < PCI_MAX_BUS; i++) {
- prt = prtf = *pprts++;
+ prt = *pprts++;
if (prt) {
for ( ; prt->length > 0; nvec++) {
prt = (PCI_ROUTING_TABLE *)
((NATIVE_UINT)prt + (NATIVE_UINT)prt->length);
@@ -331,7 +331,7 @@
pprts = (PCI_ROUTING_TABLE **)prts;
for ( i = 0; i < PCI_MAX_BUS; i++) {
- prt = *pprts++;
+ prt = prtf = *pprts++;
if (prt) {
for ( ; prt->length > 0; pvec++) {
pvec->bus = (UINT16)i;