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:
Axel Dörfler
2002-11-14 01:05:28 +00:00
parent 6f6aedf0b3
commit 2a86e17450
+1
View File
@@ -51,6 +51,7 @@ _atomic_or1:
FUNCTION(atomic_set):
movl 4(%esp),%edx
movl 8(%esp),%eax
lock
xchg %eax,(%edx)
ret