Added a missing "lock" in atomic_set().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1931 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -51,6 +51,7 @@ _atomic_or1:
|
|||||||
FUNCTION(atomic_set):
|
FUNCTION(atomic_set):
|
||||||
movl 4(%esp),%edx
|
movl 4(%esp),%edx
|
||||||
movl 8(%esp),%eax
|
movl 8(%esp),%eax
|
||||||
|
lock
|
||||||
xchg %eax,(%edx)
|
xchg %eax,(%edx)
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user