Fix arm64 and x86 builds

Change-Id: Ic3746b2f200f42218b6ac857c1631e873c767c17
This commit is contained in:
Dmitriy Ivanov 2015-11-16 13:17:27 -08:00
parent 1f0ccbb59c
commit d9b08a0bc0

View File

@ -3715,7 +3715,7 @@ static void add_vdso(KernelArgumentBlock& args __unused) {
return; 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->phdr = reinterpret_cast<ElfW(Phdr)*>(reinterpret_cast<char*>(ehdr_vdso) + ehdr_vdso->e_phoff);
si->phnum = ehdr_vdso->e_phnum; si->phnum = ehdr_vdso->e_phnum;