svc.h: Remove volatile for getThreadLocalStorage

This commit is contained in:
173210 2015-05-26 14:48:20 +09:00
parent 308aa7aaa8
commit 9ad62755b7

View File

@ -178,7 +178,7 @@ typedef struct {
static inline void* getThreadLocalStorage(void) static inline void* getThreadLocalStorage(void)
{ {
void* ret; void* ret;
asm volatile("mrc p15, 0, %[data], c13, c0, 3" : [data] "=r" (ret)); asm ("mrc p15, 0, %[data], c13, c0, 3" : [data] "=r" (ret));
return ret; return ret;
} }