diff options
author | Anton Blanchard <anton@samba.org> | 2014-04-03 05:00:43 -0400 |
---|---|---|
committer | Anton Blanchard <anton@samba.org> | 2014-04-22 20:05:34 -0400 |
commit | 83775b85668a85036973c71264a959236e7becbd (patch) | |
tree | 3a751b74a5fa580b3371ff747a626970a52db089 /arch/powerpc/include/asm/module.h | |
parent | 47f86b4e07afd4652ab0b092cbf493bf8b96559e (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.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 { | |||
78 | # endif /* MODULE */ | 78 | # endif /* MODULE */ |
79 | #endif | 79 | #endif |
80 | 80 | ||
81 | bool is_module_trampoline(u32 *insns); | ||
81 | 82 | ||
82 | struct exception_table_entry; | 83 | struct exception_table_entry; |
83 | void sort_ex_table(struct exception_table_entry *start, | 84 | void sort_ex_table(struct exception_table_entry *start, |