[CRIU] [PATCH 08/23] cr-dump.c: introduced the macro CORE_ENTRY__MARCH to represent the target architecture
Alexander Kartashov
alekskartashov at parallels.com
Mon Jan 14 02:20:02 EST 2013
---
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 1a6c601..a75902e 100644
--- a/arch/x86/include/asm/types.h
+++ b/arch/x86/include/asm/types.h
@@ -268,4 +268,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 83bc842..bbcdbad 100644
--- a/cr-dump.c
+++ b/cr-dump.c
@@ -745,7 +745,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