Only print out APIC info on an SMP system during a panic if APIC_IO is
defined.
This commit is contained in:
parent
1b12cb1ecb
commit
39cf580768
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user