[CRIU] [PATCH 11/23] cr-restore.c: use the alias CORE_ENTRY__MARCH for CORE_ENTRY__MARCH__X86_64

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


Signed-off-by: Alexander Kartashov <alekskartashov at parallels.com>
---
 cr-restore.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cr-restore.c b/cr-restore.c
index bc0d6b6..172b61b 100644
--- a/cr-restore.c
+++ b/cr-restore.c
@@ -706,7 +706,7 @@ static int check_core(CoreEntry *core)
 {
 	int ret = -1;
 
-	if (core->mtype != CORE_ENTRY__MARCH__X86_64) {
+	if (core->mtype != CORE_ENTRY__MARCH) {
 		pr_err("Core march mismatch %d\n", (int)core->mtype);
 		goto out;
 	}
@@ -1789,7 +1789,7 @@ static int sigreturn_restore(pid_t pid, CoreEntry *core)
 	 * Arguments for task restoration.
 	 */
 
-	BUG_ON(core->mtype != CORE_ENTRY__MARCH__X86_64);
+	BUG_ON(core->mtype != CORE_ENTRY__MARCH);
 
 	task_args->logfd	= log_get_fd();
 	task_args->loglevel	= log_get_loglevel();
-- 
1.7.10.4



More information about the CRIU mailing list