[CRIU] [PATCH] restore: use a correct object core for restoring fpu

Andrey Vagin avagin at openvz.org
Mon Apr 29 09:56:30 EDT 2013


tcore (per thread core) should be used here

Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 cr-restore.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cr-restore.c b/cr-restore.c
index 5161433..2a72d4a 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)
-- 
1.8.2



More information about the CRIU mailing list