Merge "Fix arm64 and x86 builds"

This commit is contained in:
Dimitry Ivanov 2015-11-16 21:23:18 +00:00 committed by Gerrit Code Review
commit 61f186d067

View File

@ -3715,7 +3715,7 @@ static void add_vdso(KernelArgumentBlock& args __unused) {
return;
}
soinfo* si = soinfo_alloc("[vdso]", nullptr, 0, 0);
soinfo* si = soinfo_alloc(&g_default_namespace, "[vdso]", nullptr, 0, 0);
si->phdr = reinterpret_cast<ElfW(Phdr)*>(reinterpret_cast<char*>(ehdr_vdso) + ehdr_vdso->e_phoff);
si->phnum = ehdr_vdso->e_phnum;