Browse Source

change __asm to __asm__ and __volatile to __volatile__

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Peter S. Mazinger 14 years ago
parent
commit
934f2fc45e

+ 1 - 1
libc/sysdeps/linux/c6x/bits/syscalls.h

@@ -103,7 +103,7 @@
 	register long __B6 __asm__ ("B6") = (long)(arg4);		\
 	register long __A8 __asm__ ("A8") = (long)(arg5);		\
 	register long __g1 __asm__ ("g1") = __NR_clone;			\
-	__asm __volatile (__CLONE_SYSCALL_STRING :			\
+	__asm__ __volatile__ (__CLONE_SYSCALL_STRING :			\
 			  "=r" (__g1), "=r" (__A4), "=r" (__B4)	:	\
 			  "0" (__g1), "1" (__A4), "2" (__B4),		\
 			  "r" (__A6), "r" (__B6), "r" (__A8) :		\

+ 1 - 1
libpthread/nptl/sysdeps/sparc/sparc32/pthread_spin_lock.c

@@ -22,7 +22,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"

+ 1 - 1
libpthread/nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.c

@@ -22,7 +22,7 @@
 int
 pthread_spin_lock (pthread_spinlock_t *lock)
 {
-  __asm__ __volatile
+  __asm__ __volatile__
     ("1: ldstub  [%0], %%g2\n"
      "   brnz,pn %%g2, 2f\n"
      "    membar #StoreLoad | #StoreStore\n"

+ 1 - 1
libpthread/nptl/sysdeps/sparc/sparc64/pthread_spin_lock.c

@@ -22,7 +22,7 @@
 int
 pthread_spin_lock (pthread_spinlock_t *lock)
 {
-  __asm__ __volatile
+  __asm__ __volatile__
     ("1: ldstub  [%0], %%g5\n"
      "   brnz,pn %%g5, 2f\n"
      "    membar #StoreLoad | #StoreStore\n"

+ 1 - 1
libpthread/nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.c

@@ -24,7 +24,7 @@ int
 pthread_spin_trylock (pthread_spinlock_t *lock)
 {
   int res;
-  __asm__ __volatile
+  __asm__ __volatile__
     ("ldstub [%1], %0\n"
      "membar #StoreLoad | #StoreStore"
      : "=r" (res)