summaryrefslogtreecommitdiff
path: root/Documentation/gcc-plugins.txt
diff options
context:
space:
mode:
authorJames Morse <james.morse@arm.com>2018-08-22 07:54:48 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2018-08-22 20:52:46 +0300
commitdf865e8337c397471b95f51017fea559bc8abb4a (patch)
tree44508e59a03482004bf85d3dfdad753e0f10372d /Documentation/gcc-plugins.txt
parent36f062042b0fd9f8e41b97a472f52139886ca26f (diff)
downloadlinux-df865e8337c397471b95f51017fea559bc8abb4a.tar.xz
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>
Diffstat (limited to 'Documentation/gcc-plugins.txt')
0 files changed, 0 insertions, 0 deletions