|
@@ -48,7 +48,6 @@
|
|
#else /* !__ASSEMBLY__ */
|
|
#else /* !__ASSEMBLY__ */
|
|
extern void _mcount(void);
|
|
extern void _mcount(void);
|
|
|
|
|
|
-#ifdef CONFIG_DYNAMIC_FTRACE
|
|
|
|
static inline unsigned long ftrace_call_adjust(unsigned long addr)
|
|
static inline unsigned long ftrace_call_adjust(unsigned long addr)
|
|
{
|
|
{
|
|
/* reloction of mcount call site is the same as the address */
|
|
/* reloction of mcount call site is the same as the address */
|
|
@@ -58,13 +57,12 @@ static inline unsigned long ftrace_call_adjust(unsigned long addr)
|
|
struct dyn_arch_ftrace {
|
|
struct dyn_arch_ftrace {
|
|
struct module *mod;
|
|
struct module *mod;
|
|
};
|
|
};
|
|
-#endif /* CONFIG_DYNAMIC_FTRACE */
|
|
|
|
#endif /* __ASSEMBLY__ */
|
|
#endif /* __ASSEMBLY__ */
|
|
|
|
|
|
#ifdef CONFIG_DYNAMIC_FTRACE_WITH_REGS
|
|
#ifdef CONFIG_DYNAMIC_FTRACE_WITH_REGS
|
|
#define ARCH_SUPPORTS_FTRACE_OPS 1
|
|
#define ARCH_SUPPORTS_FTRACE_OPS 1
|
|
#endif
|
|
#endif
|
|
-#endif
|
|
|
|
|
|
+#endif /* CONFIG_FUNCTION_TRACER */
|
|
|
|
|
|
#ifndef __ASSEMBLY__
|
|
#ifndef __ASSEMBLY__
|
|
#if defined(CONFIG_FTRACE_SYSCALLS) && defined(PPC64_ELF_ABI_v1)
|
|
#if defined(CONFIG_FTRACE_SYSCALLS) && defined(PPC64_ELF_ABI_v1)
|