[Libreoffice-commits] .: sal/osl

Bjoern Michaelsen bmichaelsen at kemper.freedesktop.org
Mon Feb 28 14:31:09 PST 2011


 sal/osl/unx/interlck.c |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 156095edc796e9c85b459e7ee677d2b101ab3b9b
Author: Eric Bachard <ericb at ooo4kids.org>
Date:   Mon Feb 28 23:27:10 2011 +0100

    lp#726529 and #i117017#: clarified origin of assembler code
    
    Signed-off-by: Bjoern Michaelsen <bjoern.michaelsen at canonical.com>

diff --git a/sal/osl/unx/interlck.c b/sal/osl/unx/interlck.c
index 8109f6e..7cf09b9 100644
--- a/sal/osl/unx/interlck.c
+++ b/sal/osl/unx/interlck.c
@@ -38,6 +38,9 @@
 #elif defined ( SOLARIS) && defined ( X86 )
 #error please use asm/interlck_x86.s
 #elif defined ( ARM ) && (( __GNUC__ < 4 ) || (( __GNUC__ == 4) && ( __GNUC_MINOR__ < 6 ))) && ( __ARM_ARCH__ >= 6)
+// assembler implementation for gcc <4.6 on arm
+// originally contributed by Eric Bachard / OOo4Kids
+// #i117017# and lp#726529
 oslInterlockedCount SAL_CALL osl_incrementInterlockedCount(oslInterlockedCount* pCount)
 {
     register oslInterlockedCount nCount __asm__ ("r1");


More information about the Libreoffice-commits mailing list