Commit 7794f67f authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

vdso: x86 -- Fix missing ability to remap vDSO if only one zone present

Occasionally I ruined the ability to do a in-place remap for
pre 3.16 kernels. Bring it back.

CID 1230182:  Logically dead code  (DEADCODE)
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 066add0d
......@@ -357,7 +357,8 @@ int vdso_proxify(char *who, struct vdso_symtable *sym_rt,
remap_rt = (delta_rt ^ delta_this) < 0 ? false : true;
}
}
} else
remap_rt = true;
}
}
......
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