]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/arm64/Kconfig
arm64: mm: select CONFIG_ARCH_PROC_KCORE_TEXT
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 14 Jun 2017 10:43:55 +0000 (12:43 +0200)
committerWill Deacon <will.deacon@arm.com>
Tue, 20 Jun 2017 11:42:58 +0000 (12:42 +0100)
commit8f36094802e4e6de180b36bcac4cfd9d319e1b64
tree0f3efa00fe43e89b22a5d7a951aa1255c8540d2d
parent737326aa510b5f7d2f38ded739914a9d5e4e4cea
arm64: mm: select CONFIG_ARCH_PROC_KCORE_TEXT

To avoid issues with the /proc/kcore code getting confused about the
kernels block mappings in the VMALLOC region, enable the existing
facility that describes the [_text, _end) interval as a separate
KCORE_TEXT region, which supersedes the KCORE_VMALLOC region that
it intersects with on arm64.

Reported-by: Tan Xiaojun <tanxiaojun@huawei.com>
Tested-by: Tan Xiaojun <tanxiaojun@huawei.com>
Tested-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Laura Abbott <labbott@redhat.com>
Reviewed-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/Kconfig