2
0
mirror of https://git.missingno.dev/kolibrios-nvme-driver/ synced 2024-12-22 22:08:47 +01:00

fix(nvme_poll): jump after timeout

This commit is contained in:
Abdur-Rahman Mansoor 2024-07-26 06:14:45 -04:00
parent 7c4626b5f1
commit 18b76f70b2

View File

@ -1222,6 +1222,7 @@ proc nvme_poll
@@: @@:
inc ecx inc ecx
cmp ecx, 0xffffffff cmp ecx, 0xffffffff
je @f
xor eax, eax xor eax, eax
inc eax inc eax
xchg eax, dword [spinlock] xchg eax, dword [spinlock]