svc.h: Improve compatiblity

This commit is contained in:
173210 2015-04-15 13:07:59 +09:00
parent 71f330aad2
commit d743dad173

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__ __volatile__ ("mrc p15, 0, %[data], c13, c0, 3" : [data] "=r" (ret));
return ret; return ret;
} }