From ed19d4b9152d89697c3ba7df7e323b30347787e8 Mon Sep 17 00:00:00 2001 From: Li-Ta Lo Date: Wed, 25 Apr 2001 03:17:47 +0000 Subject: [PATCH] Use #ifdef IOAPIC to protect Pentium class CPUs --- src/arch/i386/lib/hardwaremain.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/arch/i386/lib/hardwaremain.c b/src/arch/i386/lib/hardwaremain.c index 3da89a45f7..cf07555127 100644 --- a/src/arch/i386/lib/hardwaremain.c +++ b/src/arch/i386/lib/hardwaremain.c @@ -142,9 +142,11 @@ void intel_main() post_code(0x90); printk(KERN_INFO "done.\n"); +#ifdef IOAPIC /* set up the IO-APIC for the clock interrupt. */ post_code(0x92); setup_ioapic(); +#endif /* IOAPIC */ // generic mainboard fixup mainboard_fixup();