Commit 066add0d authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

vdso: x86 -- Simplify vdso_proxify

No need for second if() statement, merge everything
in previous one.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 914ab7f2
......@@ -390,9 +390,7 @@ int vdso_proxify(char *who, struct vdso_symtable *sym_rt,
pr_err("Failed to unmap %s\n", who);
return -1;
}
}
if (vma_vvar) {
if (vma_vdso->start < vma_vvar->start) {
ret = vdso_remap(who, vdso_rt_parked_at, vma_vdso->start, vdso_vma_size(sym_rt));
vdso_rt_parked_at += vdso_vma_size(sym_rt);
......
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