diff options
author | Steven Rostedt <srostedt@redhat.com> | 2008-11-15 08:39:05 +0100 |
---|---|---|
committer | Steven Rostedt <srostedt@redhat.com> | 2008-11-20 19:52:53 +0100 |
commit | 7cc45e64323c8a1042f56e6a8d1dc982f98d52a8 (patch) | |
tree | 4402eb9bdaca4087a92f5003cfa655e6293dc890 /arch/powerpc/include/asm/module.h | |
parent | powerpc/ppc64: ftrace, handle module trampolines for dyn ftrace (diff) | |
download | linux-7cc45e64323c8a1042f56e6a8d1dc982f98d52a8.tar.xz linux-7cc45e64323c8a1042f56e6a8d1dc982f98d52a8.zip |
powerpc/ppc32: ftrace, dynamic ftrace to handle modules
Impact: add ability to trace modules on 32 bit PowerPC
This patch performs the necessary trampoline calls to handle
modules with dynamic ftrace on 32 bit PowerPC.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'arch/powerpc/include/asm/module.h')
-rw-r--r-- | arch/powerpc/include/asm/module.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/module.h b/arch/powerpc/include/asm/module.h index 340bc699b620..08454880a2c0 100644 --- a/arch/powerpc/include/asm/module.h +++ b/arch/powerpc/include/asm/module.h @@ -39,11 +39,14 @@ struct mod_arch_specific { unsigned long tramp; #endif -#else +#else /* powerpc64 */ /* Indices of PLT sections within module. */ unsigned int core_plt_section; unsigned int init_plt_section; +#ifdef CONFIG_DYNAMIC_FTRACE + unsigned long tramp; #endif +#endif /* powerpc64 */ /* List of BUG addresses, source line numbers and filenames */ struct list_head bug_list; |