diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-04-25 17:27:35 +0000 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-04-25 17:27:35 +0000 |
commit | 963e3742bde1a5c52a67844e144f323e5f996ac0 (patch) | |
tree | df402710e51e4661a27a70db7a43cf680a5caf32 /libpthread/linuxthreads.old/sysdeps/frv/pt-machine.h | |
parent | 72fef32aa0821a1851d7a99f443bb33d1bf76e3d (diff) | |
download | uClibc-alpine-963e3742bde1a5c52a67844e144f323e5f996ac0.tar.bz2 uClibc-alpine-963e3742bde1a5c52a67844e144f323e5f996ac0.tar.xz |
STEP 11: synch linuxthreads.old directory
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libpthread/linuxthreads.old/sysdeps/frv/pt-machine.h')
-rw-r--r-- | libpthread/linuxthreads.old/sysdeps/frv/pt-machine.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/linuxthreads.old/sysdeps/frv/pt-machine.h b/libpthread/linuxthreads.old/sysdeps/frv/pt-machine.h index 2317b65a0..9c9d0d76a 100644 --- a/libpthread/linuxthreads.old/sysdeps/frv/pt-machine.h +++ b/libpthread/linuxthreads.old/sysdeps/frv/pt-machine.h @@ -35,7 +35,7 @@ PT_EI long int testandset (int *spinlock) { int i = 1; - asm ("swap%I0 %M0, %1" : "+m"(*(volatile int *)spinlock), "+r"(i)); + __asm__ ("swap%I0 %M0, %1" : "+m"(*(volatile int *)spinlock), "+r"(i)); return i; } @@ -53,7 +53,7 @@ extern char __stacksize; #define WRITE_MEMORY_BARRIER() __asm__ __volatile__("membar" : : : "memory") /* Return the thread descriptor for the current thread. */ -register struct _pthread_descr_struct *THREAD_SELF asm ("gr29"); +register struct _pthread_descr_struct *THREAD_SELF __asm__ ("gr29"); #define THREAD_SELF THREAD_SELF /* Initialize the thread-unique value. */ |