Commit 02406059 authored by Naveen N Rao's avatar Naveen N Rao Committed by Michael Ellerman

powerpc/module: Remove unused .ftrace.tramp section

.ftrace.tramp section is not used for any purpose. This code was added
all the way back in the original commit introducing support for dynamic
ftrace on ppc64 modules. Remove it.
Signed-off-by: default avatarNaveen N Rao <naveen@kernel.org>
Reviewed-by: default avatarChristophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/9cf6d7f37ba82f7cb6dafecf660f44925c526d8d.1687166935.git.naveen@kernel.org
parent f6834c8c
...@@ -75,10 +75,6 @@ struct mod_arch_specific { ...@@ -75,10 +75,6 @@ struct mod_arch_specific {
#endif #endif
#ifdef CONFIG_DYNAMIC_FTRACE #ifdef CONFIG_DYNAMIC_FTRACE
# ifdef MODULE
asm(".section .ftrace.tramp,\"ax\",@nobits; .align 3; .previous");
# endif /* MODULE */
int module_trampoline_target(struct module *mod, unsigned long trampoline, int module_trampoline_target(struct module *mod, unsigned long trampoline,
unsigned long *target); unsigned long *target);
int module_finalize_ftrace(struct module *mod, const Elf_Shdr *sechdrs); int module_finalize_ftrace(struct module *mod, const Elf_Shdr *sechdrs);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment