Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Nov 2004 16:30:52 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 65186 for review
Message-ID:  <200411151630.iAFGUq70089223@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=65186

Change 65186 by jhb@jhb_slimer on 2004/11/15 16:30:32

	Don't recursively panic in this function.

Affected files ...

.. //depot/projects/smpng/sys/i386/i386/local_apic.c#18 edit

Differences ...

==== //depot/projects/smpng/sys/i386/i386/local_apic.c#18 (text+ko) ====

@@ -755,8 +755,12 @@
 	}
 
 	/* Wait for an earlier IPI to finish. */
-	if (!lapic_ipi_wait(BEFORE_SPIN))
-		panic("APIC: Previous IPI is stuck");
+	if (!lapic_ipi_wait(BEFORE_SPIN)) {
+		if (panicstr != NULL)
+			return;
+		else
+			panic("APIC: Previous IPI is stuck");
+	}
 
 	lapic_ipi_raw(icrlo, destfield);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411151630.iAFGUq70089223>