mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Only print out APIC info on an SMP system during a panic if APIC_IO is
defined.
This commit is contained in:
parent
8d9888d37a
commit
2bcc63c545
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Reference in a new issue