[prev in list] [next in list] [prev in thread] [next in thread]
List: uclibc-cvs
Subject: svn commit: branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/arm
From: kraj () uclibc ! org (kraj at uclibc ! org)
Date: 2008-08-15 5:24:05
Message-ID: 20080815052405.27B0F3C74D () busybox ! net
[Download RAW message or body]
Author: kraj
Date: 2008-08-14 22:24:04 -0700 (Thu, 14 Aug 2008)
New Revision: 23080
Log:
__asm__ and __volatile__ conversion for arm.
Modified:
branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/arm/lowlevellock.h
branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-resume.c
Changeset:
Modified: branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/arm/lowlevellock.h
===================================================================
--- branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/arm/lowlevellock.h 2008-08-15 \
05:18:23 UTC (rev 23079)
+++ branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/arm/lowlevellock.h 2008-08-15 \
05:24:04 UTC (rev 23080) @@ -107,7 +107,7 @@
else if (old > 1)
flag = atomic_exchange_acq (futex, old);
#else
- asm volatile (
+ __asm__ __volatile__ (
"\tswp %[old], %[flag], [%[futex]] @ try to take the lock\n"
"\tcmp %[old], #1 @ check old lock value\n"
"\tmovlo %[flag], #0 @ if we got it, return 0\n"
@@ -134,7 +134,7 @@
else if (old > 1)
flag = atomic_exchange_acq (futex, old);
#else
- asm volatile (
+ __asm__ __volatile__ (
"\tswp %[old], %[flag], [%[futex]] @ try to take the lock\n"
"\tcmp %[old], #1 @ check old lock value\n"
"\tmovlo %[flag], #0 @ if we got it, return 0\n"
Modified: branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-resume.c
===================================================================
--- branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-resume.c 2008-08-15 \
05:18:23 UTC (rev 23079)
+++ branches/uClibc-nptl/libpthread/nptl/sysdeps/unix/sysv/linux/arm/unwind-resume.c 2008-08-15 \
05:24:04 UTC (rev 23080) @@ -53,7 +53,7 @@
ARM unwinder relies on register state at entrance. So we write this in
assembly. */
-asm (
+__asm__ (
" .globl _Unwind_Resume\n"
" .type _Unwind_Resume, %function\n"
"_Unwind_Resume:\n"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic