aboutsummaryrefslogtreecommitdiff
path: root/arch/i386
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386')
-rw-r--r--arch/i386/pthread_arch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/pthread_arch.h b/arch/i386/pthread_arch.h
index 7f38a562..6f600b9e 100644
--- 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__ __volatile__ ("movl %%gs:0,%0" : "=r" (self) );
+ __asm__ ("movl %%gs:0,%0" : "=r" (self) );
return self;
}