mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-11 10:33:33 +08:00
(INIT_THREAD_SELF): Added __volatile__ qualifier to be safe.
This commit is contained in:
parent
fa231011fc
commit
0a9b637e8a
@ -53,4 +53,4 @@ struct _pthread_descr_struct;
|
||||
|
||||
/* Initialize the thread-unique value. */
|
||||
#define INIT_THREAD_SELF(descr, nr) \
|
||||
({ __asm__("ldc %0,gbr" : : "r" (descr));})
|
||||
({ __asm__ __volatile__("ldc %0,gbr" : : "r" (descr));})
|
||||
|
Loading…
Reference in New Issue
Block a user