diff options
author | Anton Blanchard <anton@samba.org> | 2014-04-03 20:00:43 +1100 |
---|---|---|
committer | Anton Blanchard <anton@samba.org> | 2014-04-23 10:05:34 +1000 |
commit | 83775b85668a85036973c71264a959236e7becbd (patch) | |
tree | 3a751b74a5fa580b3371ff747a626970a52db089 /arch/powerpc/include/asm/module.h | |
parent | 47f86b4e07afd4652ab0b092cbf493bf8b96559e (diff) | |
download | talos-op-linux-83775b85668a85036973c71264a959236e7becbd.tar.gz talos-op-linux-83775b85668a85036973c71264a959236e7becbd.zip |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/module.h b/arch/powerpc/include/asm/module.h index c9c7aaaf95f5..f2711f0eb873 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, |