summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads/sysdeps/mips/tls.h
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-02-01 09:25:33 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-02-01 09:25:33 +0000
commitfd56af193eff8ad598d2789e970150d7a363c890 (patch)
treec5ec50abc7960fcaf509b4b1b3a27e4a9302f345 /libpthread/linuxthreads/sysdeps/mips/tls.h
parentf45706ca6ade259d2cf9397c35b0135991470197 (diff)
change asm/volatile to __x__
Diffstat (limited to 'libpthread/linuxthreads/sysdeps/mips/tls.h')
-rw-r--r--libpthread/linuxthreads/sysdeps/mips/tls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/linuxthreads/sysdeps/mips/tls.h b/libpthread/linuxthreads/sysdeps/mips/tls.h
index be4478db4..15dda696d 100644
--- a/libpthread/linuxthreads/sysdeps/mips/tls.h
+++ b/libpthread/linuxthreads/sysdeps/mips/tls.h
@@ -39,7 +39,7 @@ typedef union dtv
# define READ_THREAD_POINTER() \
({ void *__result; \
- asm volatile (".set\tpush\n\t.set\tmips32r2\n\t" \
+ __asm__ __volatile__ (".set\tpush\n\t.set\tmips32r2\n\t" \
"rdhwr\t%0, $29\n\t.set\tpop" : "=v" (__result)); \
__result; })