From 15b64d12ca57f0c5f44708dd23ab2e95b3e8d024 Mon Sep 17 00:00:00 2001 From: Andrey Vagin Date: Mon, 29 Apr 2013 18:40:39 +0400 Subject: [PATCH] restore: use a correct object core for restoring fpu tcore (per thread core) should be used here Signed-off-by: Andrey Vagin Signed-off-by: Pavel Emelyanov --- cr-restore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cr-restore.c b/cr-restore.c index 5161433c0..2a72d4a87 100644 --- a/cr-restore.c +++ b/cr-restore.c @@ -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)