PERFORCE change 69328 for review
John Baldwin
jhb at FreeBSD.org
Wed Jan 19 13:44:58 PST 2005
http://perforce.freebsd.org/chv.cgi?CH=69328
Change 69328 by jhb at 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) {
More information about the p4-projects
mailing list