[CRIU] [PATCHv1 03/26] arm/restorer: fix {,rt_}sigframe typo

Dmitry Safonov dsafonov at virtuozzo.com
Thu Jun 16 03:53:20 PDT 2016


sigreturn_prep_fpu_frame is no-op for arm, but I think it's better
to fix it while macro correctly expands in sigframe.c - it
may change in some future.

Cc: Christopher Covington <cov at codeaurora.org>
Cc: Cyrill Gorcunov <gorcunov at openvz.org>
Signed-off-by: Dmitry Safonov <dsafonov at virtuozzo.com>
---
 criu/arch/arm/include/asm/restorer.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/criu/arch/arm/include/asm/restorer.h b/criu/arch/arm/include/asm/restorer.h
index af7ce20b6fde..2c6d6aedefe9 100644
--- a/criu/arch/arm/include/asm/restorer.h
+++ b/criu/arch/arm/include/asm/restorer.h
@@ -126,7 +126,7 @@ struct rt_sigframe {
 #define RT_SIGFRAME_UC(rt_sigframe) (&rt_sigframe->sig.uc)
 #define RT_SIGFRAME_REGIP(rt_sigframe) (rt_sigframe)->sig.uc.uc_mcontext.arm_ip
 #define RT_SIGFRAME_HAS_FPU(rt_sigframe) 1
-#define RT_SIGFRAME_FPU(rt_sigframe) ((struct aux_sigframe *)&sigframe->sig.uc.uc_regspace)->vfp
+#define RT_SIGFRAME_FPU(rt_sigframe) ((struct aux_sigframe *)&rt_sigframe->sig.uc.uc_regspace)->vfp
 
 #define SIGFRAME_OFFSET 0
 
-- 
2.8.3



More information about the CRIU mailing list