summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/mips/tls.h
diff options
context:
space:
mode:
authorKhem Raj <kraj@mvista.com>2008-12-09 03:37:32 +0000
committerKhem Raj <kraj@mvista.com>2008-12-09 03:37:32 +0000
commit3457c21572aaed60e16b6b0e53478bf9ba5c820f (patch)
tree48bcf36bdbead8b85ae035f55437d91a47ab59c9 /libpthread/nptl/sysdeps/mips/tls.h
parent8fa1c38997f005c90cb5828be149ab32496bcd40 (diff)
downloaduClibc-alpine-3457c21572aaed60e16b6b0e53478bf9ba5c820f.tar.bz2
uClibc-alpine-3457c21572aaed60e16b6b0e53478bf9ba5c820f.tar.xz
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This patch makes mips nptl port compile again Replace remaining instances of asm by __asm__ and volatile by __volatile__ include bits/errno.h instead of obsolete bits/errno_values.h
Diffstat (limited to 'libpthread/nptl/sysdeps/mips/tls.h')
-rw-r--r--libpthread/nptl/sysdeps/mips/tls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/nptl/sysdeps/mips/tls.h b/libpthread/nptl/sysdeps/mips/tls.h
index cf90ad2bc..0a83ac672 100644
--- a/libpthread/nptl/sysdeps/mips/tls.h
+++ b/libpthread/nptl/sysdeps/mips/tls.h
@@ -39,7 +39,7 @@ typedef union dtv
/* Note: rd must be $v1 to be ABI-conformant. */
# 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; })