diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-12-12 18:01:23 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-12-12 18:01:23 +0000 |
commit | 0a9b637e8ae475e1976ed3f94e40eb9626a5c58b (patch) | |
tree | 9d7cc450b16af29a91c98bcbb7a6722e8058e509 /linuxthreads/sysdeps/sh/pt-machine.h | |
parent | fa231011fca191c126e54129cb5aae483fbb9ebd (diff) | |
download | glibc-0a9b637e8ae475e1976ed3f94e40eb9626a5c58b.tar.gz glibc-0a9b637e8ae475e1976ed3f94e40eb9626a5c58b.tar.xz glibc-0a9b637e8ae475e1976ed3f94e40eb9626a5c58b.zip |
(INIT_THREAD_SELF): Added __volatile__ qualifier to be safe.
Diffstat (limited to 'linuxthreads/sysdeps/sh/pt-machine.h')
-rw-r--r-- | linuxthreads/sysdeps/sh/pt-machine.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linuxthreads/sysdeps/sh/pt-machine.h b/linuxthreads/sysdeps/sh/pt-machine.h index 7287dc936b..ae74c475bd 100644 --- a/linuxthreads/sysdeps/sh/pt-machine.h +++ b/linuxthreads/sysdeps/sh/pt-machine.h @@ -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));}) |