projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add getopt reset support
[musl]
/
arch
/
i386
/
pthread_arch.h
diff --git
a/arch/i386/pthread_arch.h
b/arch/i386/pthread_arch.h
index
b17dc87
..
0ea0aac
100644
(file)
--- a/
arch/i386/pthread_arch.h
+++ b/
arch/i386/pthread_arch.h
@@
-1,7
+1,7
@@
static inline struct pthread *__pthread_self()
{
struct pthread *self;
- __asm__ ("movl %%gs:0,%0" : "=r" (self) );
+ __asm__
__volatile__
("movl %%gs:0,%0" : "=r" (self) );
return self;
}