summaryrefslogtreecommitdiff
path: root/arch/sh/pthread_arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/pthread_arch.h')
-rw-r--r--arch/sh/pthread_arch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/pthread_arch.h b/arch/sh/pthread_arch.h
index a7dd27a6..3ee9c1a9 100644
--- a/arch/sh/pthread_arch.h
+++ b/arch/sh/pthread_arch.h
@@ -1,7 +1,7 @@
static inline struct pthread *__pthread_self()
{
char *self;
- __asm__ __volatile__ ("stc gbr,%0" : "=r" (self) );
+ __asm__ ("stc gbr,%0" : "=r" (self) );
return (struct pthread *) (self - sizeof(struct pthread));
}