Use #ifdef IOAPIC to protect Pentium class CPUs

This commit is contained in:
Li-Ta Lo 2001-04-25 03:17:47 +00:00
commit ed19d4b915

View file

@ -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();