projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6834c8
)
powerpc/module: Remove unused .ftrace.tramp section
author
Naveen N Rao
<naveen@kernel.org>
Mon, 19 Jun 2023 09:47:20 +0000
(15:17 +0530)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Mon, 21 Aug 2023 14:09:05 +0000
(
00:09
+1000)
.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
arch/powerpc/include/asm/module.h
patch
|
blob
|
history
diff --git
a/arch/powerpc/include/asm/module.h
b/arch/powerpc/include/asm/module.h
index ac53606c25943027e63b6b95ecca4fa010e4df5e..a8e2e8339fb7f4d830c64da59ba7858c148af7e8 100644
(file)
--- a/
arch/powerpc/include/asm/module.h
+++ b/
arch/powerpc/include/asm/module.h
@@
-75,10
+75,6
@@
struct mod_arch_specific {
#endif
#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,
unsigned long *target);
int module_finalize_ftrace(struct module *mod, const Elf_Shdr *sechdrs);