|
@@ -50,13 +50,6 @@ struct mod_arch_specific {
|
|
|
unsigned int stubs_section; /* Index of stubs section in module */
|
|
|
unsigned int toc_section; /* What section is the TOC? */
|
|
|
bool toc_fixed; /* Have we fixed up .TOC.? */
|
|
|
-#ifdef CONFIG_DYNAMIC_FTRACE
|
|
|
- unsigned long toc;
|
|
|
- unsigned long tramp;
|
|
|
-#ifdef CONFIG_DYNAMIC_FTRACE_WITH_REGS
|
|
|
- unsigned long tramp_regs;
|
|
|
-#endif
|
|
|
-#endif
|
|
|
|
|
|
/* For module function descriptor dereference */
|
|
|
unsigned long start_opd;
|
|
@@ -65,10 +58,14 @@ struct mod_arch_specific {
|
|
|
/* Indices of PLT sections within module. */
|
|
|
unsigned int core_plt_section;
|
|
|
unsigned int init_plt_section;
|
|
|
+#endif /* powerpc64 */
|
|
|
+
|
|
|
#ifdef CONFIG_DYNAMIC_FTRACE
|
|
|
unsigned long tramp;
|
|
|
+#ifdef CONFIG_DYNAMIC_FTRACE_WITH_REGS
|
|
|
+ unsigned long tramp_regs;
|
|
|
+#endif
|
|
|
#endif
|
|
|
-#endif /* powerpc64 */
|
|
|
|
|
|
/* List of BUG addresses, source line numbers and filenames */
|
|
|
struct list_head bug_list;
|