diff options
Diffstat (limited to 'arch/arm/pthread_arch.h')
-rw-r--r-- | arch/arm/pthread_arch.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/pthread_arch.h b/arch/arm/pthread_arch.h index 5c6aff28..e689ea21 100644 --- a/arch/arm/pthread_arch.h +++ b/arch/arm/pthread_arch.h @@ -4,7 +4,7 @@ static inline pthread_t __pthread_self() { char *p; - __asm__ __volatile__ ( "mrc p15,0,%0,c13,c0,3" : "=r"(p) ); + __asm__ ( "mrc p15,0,%0,c13,c0,3" : "=r"(p) ); return (void *)(p-sizeof(struct pthread)); } @@ -20,7 +20,7 @@ static inline pthread_t __pthread_self() { extern hidden uintptr_t __a_gettp_ptr; register uintptr_t p __asm__("r0"); - __asm__ __volatile__ ( BLX " %1" : "=r"(p) : "r"(__a_gettp_ptr) : "cc", "lr" ); + __asm__ ( BLX " %1" : "=r"(p) : "r"(__a_gettp_ptr) : "cc", "lr" ); return (void *)(p-sizeof(struct pthread)); } |