diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-12-04 10:28:41 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2023-12-19 16:21:49 +0300 |
commit | 86ed430cf5296ca97a66f1f37e30b7dfe47cd36f (patch) | |
tree | 94a4e8aa7d43a63caeab0dce09d3ae26e3783a97 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 3a1d3829e193c091475ceab481c5f8deab385023 (diff) | |
download | linux-86ed430cf5296ca97a66f1f37e30b7dfe47cd36f.tar.xz |
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 <arnd@arndb.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Uros Bizjak <ubizjak@gmail.com>
Link: https://lore.kernel.org/r/20231204072856.1033621-1-arnd@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions