* Fix atomic_get :$

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39000 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ithamar R. Adema 2010-10-18 12:39:59 +00:00
parent 60beb9c01e
commit a9de9aea54

View File

@ -160,8 +160,7 @@ FUNCTION_END(atomic_test_and_set)
/* int atomic_get(int *value)
*/
FUNCTION(atomic_get):
mov r1, r0
swp r0, r0, [r1]
ldr r0, [r0]
bx lr
FUNCTION_END(atomic_get)