Merge pull request #123 from 173210/master

svc.h: Remove volatile for getThreadLocalStorage
This commit is contained in:
smea 2015-05-25 23:04:20 -07:00
commit c03688cfd4

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;
} }