aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorIlya Leoshkevich <[email protected]>2019-10-19 03:20:43 +0000
committerLinus Torvalds <[email protected]>2019-10-19 10:32:33 +0000
commit585d730d41120926e3f79a601edad3930fa28366 (patch)
tree630acdfaed1e3cd5449067577b61ca600f21ac76 /drivers/net/xen-netback/interface.c
parentkernel/events/uprobes.c: only do FOLL_SPLIT_PMD for uprobe register (diff)
downloadkernel-585d730d41120926e3f79a601edad3930fa28366.tar.gz
kernel-585d730d41120926e3f79a601edad3930fa28366.zip
scripts/gdb: fix debugging modules on s390
Currently lx-symbols assumes that module text is always located at module->core_layout->base, but s390 uses the following layout: +------+ <- module->core_layout->base | GOT | +------+ <- module->core_layout->base + module->arch->plt_offset | PLT | +------+ <- module->core_layout->base + module->arch->plt_offset + | TEXT | module->arch->plt_size +------+ Therefore, when trying to debug modules on s390, all the symbol addresses are skewed by plt_offset + plt_size. Fix by adding plt_offset + plt_size to module_addr in load_module_symbols(). Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ilya Leoshkevich <[email protected]> Reviewed-by: Jan Kiszka <[email protected]> Cc: Kieran Bingham <[email protected]> Cc: Heiko Carstens <[email protected]> Cc: Vasily Gorbik <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions