Use #ifdef IOAPIC to protect Pentium class CPUs
This commit is contained in:
parent
1115c4d2af
commit
ed19d4b915
1 changed files with 2 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue