PERFORCE change 75373 for review

David Xu davidxu at FreeBSD.org
Sun Apr 17 04:43:02 PDT 2005


http://perforce.freebsd.org/chv.cgi?CH=75373

Change 75373 by davidxu at davidxu_alona on 2005/04/17 11:42:32

	Fix compile.

Affected files ...

.. //depot/projects/davidxu_thread/src/sys/amd64/amd64/vm_machdep.c#7 edit

Differences ...

==== //depot/projects/davidxu_thread/src/sys/amd64/amd64/vm_machdep.c#7 (text+ko) ====

@@ -348,11 +348,11 @@
 
 	if (td == curthread) {
 		critical_enter();
-		td->pcb->pcb_fsbase = tls_base;
-		wrmsr(MSR_FSBASE, pcb->pcb_fsbase);
-		critical_leave();
+		td->td_pcb->pcb_fsbase = (register_t)tls_base;
+		wrmsr(MSR_FSBASE, td->td_pcb->pcb_fsbase);
+		critical_exit();
 	} else {
-		td->pcb->pcb_fsbase = tls_base;
+		td->td_pcb->pcb_fsbase = (register_t)tls_base;
 	}
 }
 


More information about the p4-projects mailing list