[CRIU] [PATCH 29/44] cr-dump.c: introduced the macro CORE_ENTRY__MARCH to represent the target architecture.

Alexander Kartashov alekskartashov at parallels.com
Mon Jan 7 10:04:58 EST 2013


Signed-off-by: Alexander Kartashov <alekskartashov at parallels.com>
---
 arch/x86/include/asm/types.h |    2 ++
 cr-dump.c                    |    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 fb74d1d..9349db7 100644
--- a/arch/x86/include/asm/types.h
+++ b/arch/x86/include/asm/types.h
@@ -252,4 +252,6 @@ typedef struct {
 
 #define UserRegsEntry UserX86RegsEntry
 
+#define CORE_ENTRY__MARCH CORE_ENTRY__MARCH__X86_64
+
 #endif /* __CR_ASM_TYPES_H__ */
diff --git a/cr-dump.c b/cr-dump.c
index c14bd21..16898fa 100644
--- a/cr-dump.c
+++ b/cr-dump.c
@@ -705,7 +705,7 @@ static CoreEntry *core_entry_alloc(int alloc_thread_info,
 		return NULL;
 	core_entry__init(core);
 
-	core->mtype = CORE_ENTRY__MARCH__X86_64;
+	core->mtype = CORE_ENTRY__MARCH;
 
 	if (alloc_thread_info) {
 		if (arch_alloc_thread_info(core))
-- 
1.7.10.4



More information about the CRIU mailing list