/usr/src/linux-2.2/include/asm/bugs.h: In function `check_config':
In file included from init/main.c:27:
/usr/src/linux-2.2/include/asm/bugs.h:354: `smp_found_config' undeclared (first use this function)
I guess the check is only interesting in an SMP configuration,
so perhaps this patch will work ? Or should CONFIG_GOOD_APIC
be set only when CONFIG_SMP is set ?
--- linux/include/asm-i386/bugs.h.p2 Fri Jan 1 02:09:29 1999
+++ linux/include/asm-i386/bugs.h Fri Jan 1 02:10:09 1999
@@ -350,7 +350,7 @@
#endif
/* If we were told we had a good APIC for SMP, we'd better be a PPro */
-#ifdef CONFIG_GOOD_APIC
+#if defined(CONFIG_SMP) && defined(CONFIG_GOOD_APIC)
if (smp_found_config && boot_cpu_data.x86 <= 5)
panic("Kernel compiled for PPro+, assumes local APIC without read-before-write bug");
#endif
-- Henrik Storner Praeterea censeo, Microsoftem esse delendam!
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/