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 | 156095edc796e9c85b459e7ee677d2b101ab3b9b (patch) | |
| tree | 349c0e37070feb42d674eff0b681e6f7120f6b75 | |
| parent | 83f2c071758ae7d74669d992e272e50057b895ed (diff) | |
lp#726529 and #i117017#: clarified origin of assembler code
Signed-off-by: Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
| -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 8109f6eba..7cf09b902 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"); |
