ioapic: Even for UP, we still should initialize irqmap properly
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 18 Dec 2011 03:15:51 +0000 (11:15 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 18 Dec 2011 03:15:51 +0000 (11:15 +0800)
Since we enable IOAPIC even for UP building

sys/platform/pc32/i386/machdep.c
sys/platform/pc64/x86_64/machdep.c

index 05369e8..85c18db 100644 (file)
@@ -2085,9 +2085,7 @@ init386(int first)
         * SHOULD be after elcr_probe()
         */
        MachIntrABI_ICU.initmap();
-#ifdef SMP
        MachIntrABI_IOAPIC.initmap();
-#endif
 
 #ifdef DDB
        kdb_init();
index bbf3068..8adeaf6 100644 (file)
@@ -1870,9 +1870,7 @@ hammer_time(u_int64_t modulep, u_int64_t physfree)
         * SHOULD be after elcr_probe()
         */
        MachIntrABI_ICU.initmap();
-#ifdef SMP
        MachIntrABI_IOAPIC.initmap();
-#endif
 
 #ifdef DDB
        kdb_init();