(INIT_THREAD_SELF): Added __volatile__ qualifier to be safe.

This commit is contained in:
Ulrich Drepper 2001-12-12 18:01:23 +00:00
parent fa231011fc
commit 0a9b637e8a

View File

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