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

Alexander Kartashov alekskartashov at parallels.com
Mon Jan 7 10:05:04 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 a3471c5..77482b9 100644
--- a/cr-restore.c
+++ b/cr-restore.c
@@ -705,7 +705,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;
 	}
@@ -1849,7 +1849,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