[CRIU] [PATCH 05/23] include/restorer.h: use the alias UserRegsEntry for UserX86RegsEntry

Alexander Kartashov alekskartashov at parallels.com
Mon Jan 14 02:25:47 EST 2013


Signed-off-by: Alexander Kartashov <alekskartashov at parallels.com>
---
 arch/x86/include/asm/types.h |    2 ++
 include/restorer.h           |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/x86/include/asm/types.h b/arch/x86/include/asm/types.h
index bbaf3c7..1a6c601 100644
--- a/arch/x86/include/asm/types.h
+++ b/arch/x86/include/asm/types.h
@@ -266,4 +266,6 @@ typedef struct {
 #define REG_RES(regs) ((regs).ax)
 #define REG_IP(regs)  ((regs).ip)
 
+#define UserRegsEntry UserX86RegsEntry
+
 #endif /* __CR_ASM_TYPES_H__ */
diff --git a/include/restorer.h b/include/restorer.h
index c3f2e83..c952314 100644
--- a/include/restorer.h
+++ b/include/restorer.h
@@ -64,7 +64,7 @@ struct thread_restore_args {
 	struct restore_mem_zone		mem_zone;
 
 	int				pid;
-	UserX86RegsEntry		gpregs;
+	UserRegsEntry		        gpregs;
 	u64				clear_tid_addr;
 
 	bool				has_futex;
-- 
1.7.10.4



More information about the CRIU mailing list