projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make thread-pointer-loading asm non-volatile
[musl]
/
arch
/
powerpc
/
pthread_arch.h
diff --git
a/arch/powerpc/pthread_arch.h
b/arch/powerpc/pthread_arch.h
index
bab2e6c
..
ae0f28d
100644
(file)
--- a/
arch/powerpc/pthread_arch.h
+++ b/
arch/powerpc/pthread_arch.h
@@
-1,7
+1,7
@@
static inline struct pthread *__pthread_self()
{
register char *tp __asm__("r2");
- __asm__
__volatile__
("" : "=r" (tp) );
+ __asm__ ("" : "=r" (tp) );
return (pthread_t)(tp - 0x7000 - sizeof(struct pthread));
}