Commit f95ff79c authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

restorer: Add "memory" constraint into asm statement

It seems otherwise older gcc compilers do treat this
statement as incomplete.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Reported-by: 's avatarHuang Qiang <h.huangqiang@huawei.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent d81c9a46
......@@ -705,6 +705,6 @@ core_restore_failed:
"jmp *%%rax \n"
:
: "r"(ret)
: );
: "memory");
return ret;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment