Date: Wed, 19 Jan 2005 21:44:57 GMT From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 69328 for review Message-ID: <200501192144.j0JLivvB000118@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=69328 Change 69328 by jhb@jhb_twclab on 2005/01/19 21:44:15 Compile. Affected files ... .. //depot/projects/smpng/sys/i386/i386/vm_machdep.c#62 edit .. //depot/projects/smpng/sys/i386/isa/npx.c#45 edit Differences ... ==== //depot/projects/smpng/sys/i386/i386/vm_machdep.c#62 (text+ko) ==== @@ -313,7 +313,7 @@ #ifdef DEV_NPX - npxexit(); + npxexit(td); #endif /* Disable any hardware breakpoints. */ ==== //depot/projects/smpng/sys/i386/isa/npx.c#45 (text+ko) ==== @@ -497,8 +497,9 @@ register_t savecrit; savecrit = intr_disable(); - if (curthread == PCPU_GET(fpcurthread)) - npxsave(&PCPU_GET(curpcb)->pcb_save); + if (td == PCPU_GET(fpcurthread)) + /* XXX: npxdrop() instead? */ + npxsave(&td->td_pcb->pcb_save); intr_restore(savecrit); #ifdef NPX_DEBUG if (npx_exists) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501192144.j0JLivvB000118>