[asterisk-commits] tilghman: trunk r81631 - in /trunk: ./ include/asterisk/lock.h
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Sep 5 16:45:20 CDT 2007
Author: tilghman
Date: Wed Sep 5 16:45:19 2007
New Revision: 81631
URL: http://svn.digium.com/view/asterisk?view=rev&rev=81631
Log:
Merged revisions 81569 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r81569 | tilghman | 2007-09-05 12:18:24 -0500 (Wed, 05 Sep 2007) | 2 lines
Solaris x86 compatibility fix
........
Modified:
trunk/ (props changed)
trunk/include/asterisk/lock.h
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/include/asterisk/lock.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/lock.h?view=diff&rev=81631&r1=81630&r2=81631
==============================================================================
--- trunk/include/asterisk/lock.h (original)
+++ trunk/include/asterisk/lock.h Wed Sep 5 16:45:19 2007
@@ -789,7 +789,11 @@
AST_INLINE_API(int ast_atomic_fetchadd_int(volatile int *p, int v),
{
__asm __volatile (
+#ifdef sun
+ " lock; xaddl %0, %1 ; "
+#else
" lock xaddl %0, %1 ; "
+#endif
: "+r" (v), /* 0 (result) */
"=m" (*p) /* 1 */
: "m" (*p)); /* 2 */
More information about the asterisk-commits
mailing list