From fd56af193eff8ad598d2789e970150d7a363c890 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Wed, 1 Feb 2006 09:25:33 +0000 Subject: change asm/volatile to __x__ --- libpthread/linuxthreads/sysdeps/sparc/sparc32/pspinlock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libpthread/linuxthreads/sysdeps/sparc/sparc32/pspinlock.c') diff --git a/libpthread/linuxthreads/sysdeps/sparc/sparc32/pspinlock.c b/libpthread/linuxthreads/sysdeps/sparc/sparc32/pspinlock.c index a67dbf901..812c7ff2a 100644 --- a/libpthread/linuxthreads/sysdeps/sparc/sparc32/pspinlock.c +++ b/libpthread/linuxthreads/sysdeps/sparc/sparc32/pspinlock.c @@ -25,7 +25,7 @@ int __pthread_spin_lock (pthread_spinlock_t *lock) { - asm volatile + __asm__ __volatile__ ("1: ldstub [%0], %%g2\n" " orcc %%g2, 0x0, %%g0\n" " bne,a 2f\n" @@ -48,7 +48,7 @@ int __pthread_spin_trylock (pthread_spinlock_t *lock) { int result; - asm volatile + __asm__ __volatile__ ("ldstub [%1], %0" : "=r" (result) : "r" (lock) -- cgit v1.2.3