summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/arch/i386/include
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2005-04-26 20:41:48 +0000
committerpeter <peter@FreeBSD.org>2005-04-26 20:41:48 +0000
commit408a98eda0a10cadb704be572ff6ebad25db3ddc (patch)
treedf29d44a9fe616941c6e76598d78e91232b12b95 /lib/libpthread/arch/i386/include
parent55bba67087a9f496e46e0307aaba162c9a099b0f (diff)
downloadFreeBSD-src-408a98eda0a10cadb704be572ff6ebad25db3ddc.zip
FreeBSD-src-408a98eda0a10cadb704be572ff6ebad25db3ddc.tar.gz
Remove the special _amd64_set_gsbase() code for #ifdef COMPAT_32BIT, now
that the amd64 kernel implements i386_get/set_gsbase(). All the rest of the ldt backwards compat code should go away soon.
Diffstat (limited to 'lib/libpthread/arch/i386/include')
-rw-r--r--lib/libpthread/arch/i386/include/pthread_md.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/libpthread/arch/i386/include/pthread_md.h b/lib/libpthread/arch/i386/include/pthread_md.h
index e339391..da200d3 100644
--- a/lib/libpthread/arch/i386/include/pthread_md.h
+++ b/lib/libpthread/arch/i386/include/pthread_md.h
@@ -154,7 +154,6 @@ void _kcb_dtor(struct kcb *);
static __inline void
_kcb_set(struct kcb *kcb)
{
-#ifndef COMPAT_32BIT
int val;
if (_thr_using_setbase == 1) {
@@ -163,9 +162,6 @@ _kcb_set(struct kcb *kcb)
val = (kcb->kcb_ldt << 3) | 7;
__asm __volatile("movl %0, %%gs" : : "r" (val));
}
-#else
- _amd64_set_gsbase(kcb);
-#endif
}
OpenPOWER on IntegriCloud