diff options
author | Eric Bachard <ericb@ooo4kids.org> | 2011-02-28 23:27:10 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-02-28 23:28:30 +0100 |
commit | 3990d8d6f4198e0c5a7d03e80c687355495d19d3 (patch) | |
tree | 1b79724df7ada980d8b2ed86959e680688828fcf /sal/osl | |
parent | c3be0d4ad83e4b16d1599ec4a0c96c4df8aa58c7 (diff) |
lp#726529 and #i117017#: clarified origin of assembler code
Signed-off-by: Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'sal/osl')
-rw-r--r-- | sal/osl/unx/interlck.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sal/osl/unx/interlck.c b/sal/osl/unx/interlck.c index 8109f6eba10d..7cf09b902cd9 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"); |