Kernel/x86 - Fix not restoring registers in Proc_CloneInt
[tpg/acess2.git] / KernelLand / Kernel / arch / x86 / proc.asm
index b8c01bc..be4c10d 100644 (file)
@@ -38,7 +38,7 @@ Proc_CloneInt:
        mov esi, [esp+0x20+8]
        mov [esi], eax
        ; Undo the pusha
-       add esp, 0x20
+       popa
        mov eax, .newTask
        ret
 .newTask:

UCC git Repository :: git.ucc.asn.au