projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
move invariant netinet/in.h stuff out of bits/in.h
[oweals/musl.git]
/
arch
/
x86_64
/
pthread_arch.h
diff --git
a/arch/x86_64/pthread_arch.h
b/arch/x86_64/pthread_arch.h
index c424493a350dd7420dbf5845b2f9462b56774a9d..836187f5654ea4087c754c512f3543163e3738ff 100644
(file)
--- a/
arch/x86_64/pthread_arch.h
+++ b/
arch/x86_64/pthread_arch.h
@@
-1,7
+1,7
@@
static inline struct pthread *__pthread_self()
{
struct pthread *self;
- __asm__ ("movq %%fs:0,%0" : "=r" (self) );
+ __asm__
__volatile__
("movq %%fs:0,%0" : "=r" (self) );
return self;
}