2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-29 13:28:27 +00:00

restore: use a correct object core for restoring fpu

tcore (per thread core) should be used here

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Andrey Vagin 2013-04-29 18:40:39 +04:00 committed by Pavel Emelyanov
parent 4c36be84af
commit 15b64d12ca

View File

@ -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)