diff --git a/sys/kern/kern_shutdown.c b/sys/kern/kern_shutdown.c index 025ed0489ec..c410417f12d 100644 --- a/sys/kern/kern_shutdown.c +++ b/sys/kern/kern_shutdown.c @@ -558,8 +558,10 @@ panic(const char *fmt, ...) #ifdef SMP /* two seperate prints in case of an unmapped page and trap */ printf("cpuid = %d; ", cpuid); +#ifdef APIC_IO printf("lapic.id = %08x\n", lapic.id); #endif +#endif #if defined(DDB) if (debugger_on_panic)