PERFORCE change 106945 for review

Roman Divacky rdivacky at FreeBSD.org
Sat Sep 30 01:07:33 PDT 2006


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

Change 106945 by rdivacky at rdivacky_witten on 2006/09/30 08:06:39

	Setting TLS in the calling thread doesnt make sense. Set TLS in the
	newly created one.

Affected files ...

.. //depot/projects/linuxolator/src/sys/amd64/linux32/linux32_machdep.c#8 edit

Differences ...

==== //depot/projects/linuxolator/src/sys/amd64/linux32/linux32_machdep.c#8 (text+ko) ====

@@ -661,7 +661,7 @@
 		/* this is taken from amd64 version of cpu_set_user_tls() */
 		critical_enter();
 		/* set %gs */
-		td->td_pcb->pcb_gsbase = (register_t)info.base_addr;
+		td2->td_pcb->pcb_gsbase = (register_t)info.base_addr;
 #if 0
 		wrmsr(MSR_KGSBASE, td->td_pcb->pcb_fsbase);
 #endif


More information about the p4-projects mailing list