Files
android_kernel_xiaomi_sm8450/fs/proc
James Morse df865e8337 fs/proc/kcore.c: use __pa_symbol() for KCORE_TEXT list entries
elf_kcore_store_hdr() uses __pa() to find the physical address of
KCORE_RAM or KCORE_TEXT entries exported as program headers.

This trips CONFIG_DEBUG_VIRTUAL's checks, as the KCORE_TEXT entries are
not in the linear map.

Handle these two cases separately, using __pa_symbol() for the KCORE_TEXT
entries.

Link: http://lkml.kernel.org/r/20180711131944.15252-1-james.morse@arm.com
Signed-off-by: James Morse <james.morse@arm.com>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Omar Sandoval <osandov@fb.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2018-08-22 10:52:46 -07:00
..
2018-08-22 10:52:46 -07:00
2018-08-22 10:52:45 -07:00
2018-08-22 10:52:46 -07:00
2017-11-17 16:10:00 -08:00
2018-06-07 17:34:37 -07:00
2018-06-12 16:19:22 -07:00
2018-05-16 07:23:35 +02:00
2017-11-17 16:10:00 -08:00