[CRIU] [PATCH] restore: change type of blk_sigset on k_rtsigset_t

Andrey Vagin avagin at openvz.org
Mon Apr 29 09:50:00 EDT 2013


pie/restorer.c: In function ‘restore_thread_common’:
pie/restorer.c:262:39: error: incompatible types when assigning to type
‘k_rtsigset_t’ from type ‘u64’
   RT_SIGFRAME_UC(sigframe).uc_sigmask = args->blk_sigset;
                                       ^

Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 include/restorer.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/restorer.h b/include/restorer.h
index 6a9da84..fa3a76a 100644
--- a/include/restorer.h
+++ b/include/restorer.h
@@ -72,7 +72,7 @@ struct thread_restore_args {
 	u32				futex_rla_len;
 
 	bool				has_blk_sigset;
-	u64				blk_sigset;
+	k_rtsigset_t			blk_sigset;
 
 	struct rst_sched_param		sp;
 
-- 
1.8.2



More information about the CRIU mailing list