PERFORCE change 180224 for review

John Baldwin jhb at FreeBSD.org
Fri Jun 25 20:29:41 UTC 2010


http://p4web.freebsd.org/@@180224?ac=10

Change 180224 by jhb at jhb_jhbbsd on 2010/06/25 20:29:38

	Drop this local change.

Affected files ...

.. //depot/projects/smpng/sys/i386/isa/npx.c#69 edit

Differences ...

==== //depot/projects/smpng/sys/i386/isa/npx.c#69 (text+ko) ====

@@ -377,9 +377,8 @@
 {
 
 	critical_enter();
-	if (td == PCPU_GET(fpcurthread))
-		/* XXX: npxdrop() instead? */
-		npxsave(&td->td_pcb->pcb_save);
+	if (curthread == PCPU_GET(fpcurthread))
+		npxsave(PCPU_GET(curpcb)->pcb_save);
 	critical_exit();
 #ifdef NPX_DEBUG
 	if (hw_float) {


More information about the p4-projects mailing list