Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jun 2010 20:29:39 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 180224 for review
Message-ID:  <201006252029.o5PKTdwm061313@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@180224?ac=10

Change 180224 by jhb@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) {



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