Only print out APIC info on an SMP system during a panic if APIC_IO is

defined.
This commit is contained in:
jhb 2000-11-29 01:33:15 +00:00
parent 1b12cb1ecb
commit 39cf580768

View File

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