Commit 15b64d12 authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

restore: use a correct object core for restoring fpu

tcore (per thread core) should be used here
Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 4c36be84
......@@ -2033,7 +2033,7 @@ static int sigreturn_restore(pid_t pid, CoreEntry *core)
goto err;
}
if (sigreturn_prep_fpu_frame(&thread_args[i], core))
if (sigreturn_prep_fpu_frame(&thread_args[i], tcore))
goto err;
if (thread_args[i].pid != pid)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment