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

Alexander Kartashov alekskartashov at parallels.com
Mon Jan 7 10:04:43 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 f897888..fb74d1d 100644
--- a/arch/x86/include/asm/types.h
+++ b/arch/x86/include/asm/types.h
@@ -250,4 +250,6 @@ typedef struct {
 
 #define TASK_SIZE ((1UL << 47) - 1)
 
+#define UserRegsEntry UserX86RegsEntry
+
 #endif /* __CR_ASM_TYPES_H__ */
diff --git a/include/restorer.h b/include/restorer.h
index 0ded111..014c310 100644
--- a/include/restorer.h
+++ b/include/restorer.h
@@ -63,7 +63,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