summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_shutdown.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2000-11-29 01:33:15 +0000
committerjhb <jhb@FreeBSD.org>2000-11-29 01:33:15 +0000
commit39cf580768d63fdbabaac3863cff2bd86f13618d (patch)
tree4f1f2b6d8a2bea69c23220389550e9a749f0fb2e /sys/kern/kern_shutdown.c
parent1b12cb1ecbd2ed441a9d118cf2e537cdf0ab4087 (diff)
downloadFreeBSD-src-39cf580768d63fdbabaac3863cff2bd86f13618d.zip
FreeBSD-src-39cf580768d63fdbabaac3863cff2bd86f13618d.tar.gz
Only print out APIC info on an SMP system during a panic if APIC_IO is
defined.
Diffstat (limited to 'sys/kern/kern_shutdown.c')
-rw-r--r--sys/kern/kern_shutdown.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/kern_shutdown.c b/sys/kern/kern_shutdown.c
index 025ed04..c410417 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)
OpenPOWER on IntegriCloud