kolibri-acpi: fix mistype in futex_wake

git-svn-id: svn://kolibrios.org@5605 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge) 2015-07-23 11:28:42 +00:00
parent 9b3677daa9
commit 272fd42b90

View File

@ -231,9 +231,9 @@ align 4
align 4
;ecx futex handle
;esi current process
;edi futex object
;edx threads count
;edx numder of threads
;edi current process
;ebp futex object
.futex_wake:
xor ecx, ecx
@ -241,11 +241,11 @@ align 4
pushfd
cli
lea ebx, [edi+FUTEX.wait_list]
lea ebx, [ebp+FUTEX.wait_list]
mov esi, [ebx+LHEAD.next]
@@:
.wake:
cmp esi, ebx
je @F
je .done
mov eax, [esi+MUTEX_WAITER.task]
mov [eax+TASKDATA.state], 0
@ -253,8 +253,8 @@ align 4
mov esi, [esi+MUTEX_WAITER.list.next]
inc ecx
cmp ecx, edx
jb @B
@@:
jb .wake
.done:
popfd
mov [esp+SYSCALL_STACK._eax], ecx
ret