Date: Sat, 30 Sep 2006 08:07:30 GMT From: Roman Divacky <rdivacky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 106945 for review Message-ID: <200609300807.k8U87Uuc024625@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=106945 Change 106945 by rdivacky@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609300807.k8U87Uuc024625>