summaryrefslogtreecommitdiff
path: root/arch/x86_64
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64')
-rw-r--r--arch/x86_64/pthread_arch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/pthread_arch.h b/arch/x86_64/pthread_arch.h
index c61509cf..65e880c6 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__ ("mov %%fs:0,%0" : "=r" (self) );
+ __asm__ ("mov %%fs:0,%0" : "=r" (self) );
return self;
}