summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads/sysdeps/m68k/pspinlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/linuxthreads/sysdeps/m68k/pspinlock.c')
-rw-r--r--libpthread/linuxthreads/sysdeps/m68k/pspinlock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/linuxthreads/sysdeps/m68k/pspinlock.c b/libpthread/linuxthreads/sysdeps/m68k/pspinlock.c
index 30b9b9e8b..35b851faf 100644
--- a/libpthread/linuxthreads/sysdeps/m68k/pspinlock.c
+++ b/libpthread/linuxthreads/sysdeps/m68k/pspinlock.c
@@ -28,7 +28,7 @@ __pthread_spin_lock (pthread_spinlock_t *lock)
unsigned int val;
do
- asm volatile ("tas %1; sne %0"
+ __asm__ __volatile__ ("tas %1; sne %0"
: "=dm" (val), "=m" (*lock)
: "m" (*lock)
: "cc");
@@ -44,7 +44,7 @@ __pthread_spin_trylock (pthread_spinlock_t *lock)
{
unsigned int val;
- asm volatile ("tas %1; sne %0"
+ __asm__ __volatile__ ("tas %1; sne %0"
: "=dm" (val), "=m" (*lock)
: "m" (*lock)
: "cc");