ioapic: Disable imen_dump() in new code
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 23 Mar 2011 12:26:55 +0000 (20:26 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 23 Mar 2011 15:12:50 +0000 (23:12 +0800)
sys/platform/pc32/i386/autoconf.c
sys/platform/pc64/x86_64/autoconf.c

index 3ba1bb5..dca32d6 100644 (file)
@@ -156,7 +156,7 @@ configure_final(void *dummy)
 
        if (bootverbose) {
 #ifdef SMP /* APIC-IO */
-               if (apic_io_enable)
+               if (apic_io_enable && ioapic_use_old)
                        imen_dump();
 #endif
 
index b806649..65983b0 100644 (file)
@@ -154,7 +154,7 @@ configure_final(void *dummy)
 
        if (bootverbose) {
 #ifdef SMP /* APIC-IO */
-       if (apic_io_enable)
+       if (apic_io_enable && ioapic_use_old)
                imen_dump();
 #endif