summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/module.h
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2014-04-03 20:00:43 +1100
committerAnton Blanchard <anton@samba.org>2014-04-23 10:05:34 +1000
commit83775b85668a85036973c71264a959236e7becbd (patch)
tree3a751b74a5fa580b3371ff747a626970a52db089 /arch/powerpc/include/asm/module.h
parent47f86b4e07afd4652ab0b092cbf493bf8b96559e (diff)
powerpc/modules: Create is_module_trampoline()
ftrace has way too much knowledge of our kernel module trampoline layout hidden inside it. Create is_module_trampoline() that can abstract this away inside the module loader code. Signed-off-by: Anton Blanchard <anton@samba.org>
Diffstat (limited to 'arch/powerpc/include/asm/module.h')
-rw-r--r--arch/powerpc/include/asm/module.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/module.h b/arch/powerpc/include/asm/module.h
index c9c7aaaf95f..f2711f0eb87 100644
--- a/arch/powerpc/include/asm/module.h
+++ b/arch/powerpc/include/asm/module.h
@@ -78,6 +78,7 @@ struct mod_arch_specific {
# endif /* MODULE */
#endif
+bool is_module_trampoline(u32 *insns);
struct exception_table_entry;
void sort_ex_table(struct exception_table_entry *start,