diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86_64/pthread_arch.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/pthread_arch.h b/arch/x86_64/pthread_arch.h index 77c8387c..29e4590c 100644 --- 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__ __volatile__ ("movq %%fs:0,%0" : "=r" (self) ); + __asm__ __volatile__ ("mov %%fs:0,%0" : "=r" (self) ); return self; } |