svn commit: r364001 - stable/12/sys/x86/x86

Alexander Motin mav at FreeBSD.org
Fri Aug 7 00:50:42 UTC 2020


Author: mav
Date: Fri Aug  7 00:50:41 2020
New Revision: 364001
URL: https://svnweb.freebsd.org/changeset/base/364001

Log:
  Fix build after r363999.

Modified:
  stable/12/sys/x86/x86/mp_x86.c

Modified: stable/12/sys/x86/x86/mp_x86.c
==============================================================================
--- stable/12/sys/x86/x86/mp_x86.c	Fri Aug  7 00:40:28 2020	(r364000)
+++ stable/12/sys/x86/x86/mp_x86.c	Fri Aug  7 00:50:41 2020	(r364001)
@@ -1359,7 +1359,7 @@ ipi_self_from_nmi(u_int vector)
 
 	/* Wait for IPI to finish. */
 	if (!lapic_ipi_wait(50000)) {
-		if (KERNEL_PANICKED())
+		if (panicstr != NULL)
 			return;
 		else
 			panic("APIC: IPI is stuck");


More information about the svn-src-stable-12 mailing list