aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2023-12-04 08:28:41 +0100
committerIngo Molnar <[email protected]>2023-12-19 14:21:49 +0100
commit86ed430cf5296ca97a66f1f37e30b7dfe47cd36f (patch)
tree94a4e8aa7d43a63caeab0dce09d3ae26e3783a97 /scripts/gdb/linux/utils.py
parent3a1d3829e193c091475ceab481c5f8deab385023 (diff)
x86/alternatives: Move apply_relocation() out of init section
This function is now called from a few places that are no __init_or_module, resulting a link time warning: WARNING: modpost: vmlinux: section mismatch in reference: patch_dest+0x8a (section: .text) -> apply_relocation (section: .init.text) Remove the annotation here. [ mingo: Also sync up add_nop() with these changes. ] Fixes: 17bce3b2ae2d ("x86/callthunks: Handle %rip-relative relocations in call thunk template") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Cc: Uros Bizjak <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions