From 0a9b637e8ae475e1976ed3f94e40eb9626a5c58b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 12 Dec 2001 18:01:23 +0000 Subject: (INIT_THREAD_SELF): Added __volatile__ qualifier to be safe. --- linuxthreads/sysdeps/sh/pt-machine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linuxthreads/sysdeps/sh') 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));}) -- cgit 1.4.1