Skip to content

Commit 0240605

Browse files
rnavmpe
authored andcommitted
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: Naveen N Rao <naveen@kernel.org> Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/9cf6d7f37ba82f7cb6dafecf660f44925c526d8d.1687166935.git.naveen@kernel.org
1 parent f6834c8 commit 0240605

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

arch/powerpc/include/asm/module.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,6 @@ struct mod_arch_specific {
7575
#endif
7676

7777
#ifdef CONFIG_DYNAMIC_FTRACE
78-
# ifdef MODULE
79-
asm(".section .ftrace.tramp,\"ax\",@nobits; .align 3; .previous");
80-
# endif /* MODULE */
81-
8278
int module_trampoline_target(struct module *mod, unsigned long trampoline,
8379
unsigned long *target);
8480
int module_finalize_ftrace(struct module *mod, const Elf_Shdr *sechdrs);

0 commit comments

Comments
 (0)