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

defined.
This commit is contained in:
John Baldwin 2000-11-29 01:33:15 +00:00
parent 8d9888d37a
commit 2bcc63c545
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=69335

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)