MIPS: Tracing: Add dynamic function tracer support
[linux-2.6-block.git] / arch / mips / include / asm / ftrace.h
index 5f8ebcf9fa614a930ae04c51ab625ef49b4a46c0..7094a40b96d8cea1184cf617894f67bee9a9e1f6 100644 (file)
 extern void _mcount(void);
 #define mcount _mcount
 
+#ifdef CONFIG_DYNAMIC_FTRACE
+static inline unsigned long ftrace_call_adjust(unsigned long addr)
+{
+       return addr;
+}
+
+struct dyn_arch_ftrace {
+};
+#endif /*  CONFIG_DYNAMIC_FTRACE */
 #endif /* __ASSEMBLY__ */
 #endif /* CONFIG_FUNCTION_TRACER */
 #endif /* _ASM_MIPS_FTRACE_H */