perf/urgent fix:
- Accept zero as the kernel base address, to resolve symbols on architectures that don't partition the virtual address space in kernel/user, S/390, is one of such architectures and was where this problem was noticed. (Arnaldo Carvalho de Melo) Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJZZnW+AAoJENZQFvNTUqpABfkP/iG6xdjtafYV2dMFSGDjQ8I5 eoV9JBFnROUaPrTYfkd5McBoiO42PkojY1Oj6DxuF9vuWA4mVsInoNh9c86Il2B0 OM7h9MOJyrYG5rOo1HQniRdPWRhUTIPdB/5dGNpF9SKMV1cHOr+akeEfmo/QBflv iZ1JnKVsnrlLO/dNHhvbPWeKYcW2EU0kQ+WeCpMW9NGgwkaVulrbFDetxMRIdX5y iyaCPmkSxiGZS8UcpfdNdNFv1JaObaTRB9uD5YLx8HkfX3HdkqM/iXiomSd47XQ1 KBXa7+IVK63ycolyyqbtvXyK8lyD3DZ9ytth7AMN0msbrZ/HZu5MGF4JYUyvBhlS 2mtsEYf9nvn58h8Lwljf9v25z3vZRSYIZTaRMCmfsGVsFRoooGLuiILJhCH2g5WP DRhX/Su1QB9xV6G27WGSb3N2/oLW3rhyWTj5KXkfln+zi1hBxkEPDKm4W3FXwi9y bW+S8pGzP4XdvdNm56XZqTW/eiLUZg6FyWYWxCgBdd76SuSLk8SvZVfg9e3MUmy4 oDItf0eCUtchNRhW3zcipVkMPHLxMf3MVWfHGP6u0UUyjhBJueNPNyiHibokgJdj SqHm2/az6vOtq5VhhrJwpmOSzObtTEitX0Z6VYZn2pVamM6YsdLxaTzRPwTMYlFY cFGcq4YJjCn0UMP87Oku =pz12 -----END PGP SIGNATURE----- Merge tag 'perf-urgent-for-mingo-4.13-20170712' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent Pull perf/urgent fix from Arnaldo Carvalho de Melo: - Accept zero as the kernel base address, to resolve symbols on architectures that don't partition the virtual address space in kernel/user, S/390, is one of such architectures and was where this problem was noticed. (Arnaldo Carvalho de Melo) Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
commit
fc5d7e5bf4
1 changed files with 1 additions and 1 deletions
|
|
@ -2209,7 +2209,7 @@ int machine__get_kernel_start(struct machine *machine)
|
|||
machine->kernel_start = 1ULL << 63;
|
||||
if (map) {
|
||||
err = map__load(map);
|
||||
if (map->start)
|
||||
if (!err)
|
||||
machine->kernel_start = map->start;
|
||||
}
|
||||
return err;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue