diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-04-25 17:27:35 +0000 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-04-25 17:27:35 +0000 |
commit | 963e3742bde1a5c52a67844e144f323e5f996ac0 (patch) | |
tree | df402710e51e4661a27a70db7a43cf680a5caf32 /libpthread/linuxthreads.old/sysdeps/i386/tls.h | |
parent | 72fef32aa0821a1851d7a99f443bb33d1bf76e3d (diff) | |
download | uClibc-alpine-963e3742bde1a5c52a67844e144f323e5f996ac0.tar.bz2 uClibc-alpine-963e3742bde1a5c52a67844e144f323e5f996ac0.tar.xz |
STEP 11: synch linuxthreads.old directory
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libpthread/linuxthreads.old/sysdeps/i386/tls.h')
-rw-r--r-- | libpthread/linuxthreads.old/sysdeps/i386/tls.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libpthread/linuxthreads.old/sysdeps/i386/tls.h b/libpthread/linuxthreads.old/sysdeps/i386/tls.h index e4f007ee3..8534cab80 100644 --- a/libpthread/linuxthreads.old/sysdeps/i386/tls.h +++ b/libpthread/linuxthreads.old/sysdeps/i386/tls.h @@ -104,7 +104,7 @@ typedef struct { nr, (unsigned long int) (descr), 0xfffff /* 4GB in pages */, \ 1, 0, 0, 1, 0, 1, 0 }; \ int result; \ - asm volatile (TLS_LOAD_EBX \ + __asm__ __volatile__ (TLS_LOAD_EBX \ "int $0x80\n\t" \ TLS_LOAD_EBX \ : "=a" (result) \ @@ -125,9 +125,9 @@ typedef struct int result; \ if (secondcall) \ ldt_entry.entry_number = ({ int _gs; \ - asm ("movw %%gs, %w0" : "=q" (_gs)); \ + __asm__ ("movw %%gs, %w0" : "=q" (_gs)); \ (_gs & 0xffff) >> 3; }); \ - asm volatile (TLS_LOAD_EBX \ + __asm__ __volatile__ (TLS_LOAD_EBX \ "int $0x80\n\t" \ TLS_LOAD_EBX \ : "=a" (result), "=m" (ldt_entry.entry_number) \ @@ -167,7 +167,7 @@ typedef struct __gs = TLS_SETUP_GS_SEGMENT (_descr, secondcall); \ if (__builtin_expect (__gs, 7) != -1) \ { \ - asm ("movw %w0, %%gs" : : "q" (__gs)); \ + __asm__ ("movw %w0, %%gs" : : "q" (__gs)); \ __gs = 0; \ } \ __gs; \ |