From: Henrik Storner <storner@image.dk>
Subject: 2.1.100-pre3: Patch for arch/i386/kernel/irq.c compile failure
To: linux-kernel@vger.rutgers.edu
Date: Wed, 6 May 1998 09:20:45 +0200 (MET DST)
On my uni-processor Intel system, 2.1.100-pre3 fails to compile
arch/i386/kernel/irq.c complaining about an undefined variable
in line 362. This patch seems to fix it:
--- linux/arch/i386/kernel/irq.c.p3 Wed May 6 09:06:02 1998
+++ linux/arch/i386/kernel/irq.c Wed May 6 09:17:02 1998
@@ -357,6 +357,7 @@
kstat.irqs[cpu_logical_map(j)][i]);
#endif
+#ifdef __SMP__
if (IO_APIC_IRQ(i)) {
p += sprintf(p, " IO-APIC");
if (irq_desc[i].handler == &ioapic_level_irq_type)
@@ -364,6 +365,7 @@
else
p += sprintf(p, "-edge ");
} else
+#endif
p += sprintf(p, " XT-PIC ");
p += sprintf(p, " %s", action->name);
--
Henrik Storner | "testing? What's that? If it compiles, it is good,
| if it boots up it is perfect."
| Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu