diff options
author | Steven Rostedt <srostedt@redhat.com> | 2008-11-15 02:39:05 -0500 |
---|---|---|
committer | Steven Rostedt <srostedt@redhat.com> | 2008-11-20 13:52:53 -0500 |
commit | 7cc45e64323c8a1042f56e6a8d1dc982f98d52a8 (patch) | |
tree | 4402eb9bdaca4087a92f5003cfa655e6293dc890 /arch/powerpc/include/asm/module.h | |
parent | f48cb8b48b0b10025ca9c451b9b32cac3fcd33ba (diff) |
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 { | |||
39 | unsigned long tramp; | 39 | unsigned long tramp; |
40 | #endif | 40 | #endif |
41 | 41 | ||
42 | #else | 42 | #else /* powerpc64 */ |
43 | /* Indices of PLT sections within module. */ | 43 | /* Indices of PLT sections within module. */ |
44 | unsigned int core_plt_section; | 44 | unsigned int core_plt_section; |
45 | unsigned int init_plt_section; | 45 | unsigned int init_plt_section; |
46 | #ifdef CONFIG_DYNAMIC_FTRACE | ||
47 | unsigned long tramp; | ||
46 | #endif | 48 | #endif |
49 | #endif /* powerpc64 */ | ||
47 | 50 | ||
48 | /* List of BUG addresses, source line numbers and filenames */ | 51 | /* List of BUG addresses, source line numbers and filenames */ |
49 | struct list_head bug_list; | 52 | struct list_head bug_list; |