summaryrefslogtreecommitdiffstats
path: root/.get_maintainer.ignore
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2022-01-07 01:13:02 +0100
committerHelge Deller <deller@gmx.de>2022-01-11 11:57:38 +0100
commit16f035d9e264d95d61d5f4056bb00d8169a7a3d1 (patch)
treebc142f6efa27d464ee375e67cff350f8bae4bdf8 /.get_maintainer.ignore
parentparisc: Re-use toc_stack as hpmc_stack (diff)
downloadlinux-16f035d9e264d95d61d5f4056bb00d8169a7a3d1.tar.xz
linux-16f035d9e264d95d61d5f4056bb00d8169a7a3d1.zip
sections: Fix __is_kernel() to include init ranges
With CONFIG_KALLSYMS_ALL=y, the function is_ksym_addr() is used to determine if a symbol is from inside the kernel range. For that the given symbol address is checked if it's inside the _stext to _end range. Although this is correct, some architectures (e.g. parisc) may have the init area before the _stext address and as such the check in is_ksym_addr() fails. By extending the range check to include the init section, __is_kernel() will now detect symbols in this range as well. This fixes an issue on parisc where addresses of kernel functions in init sections aren't resolved to their symbol names. Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions