diff options
Diffstat (limited to 'arch/blackfin/include/asm/ftrace.h')
-rw-r--r-- | arch/blackfin/include/asm/ftrace.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/ftrace.h b/arch/blackfin/include/asm/ftrace.h index 4cfe2d9ba7e8..8a029505d7b7 100644 --- a/arch/blackfin/include/asm/ftrace.h +++ b/arch/blackfin/include/asm/ftrace.h | |||
@@ -12,6 +12,22 @@ | |||
12 | 12 | ||
13 | #ifndef __ASSEMBLY__ | 13 | #ifndef __ASSEMBLY__ |
14 | 14 | ||
15 | #ifdef CONFIG_DYNAMIC_FTRACE | ||
16 | |||
17 | extern void _mcount(void); | ||
18 | #define MCOUNT_ADDR ((unsigned long)_mcount) | ||
19 | |||
20 | static inline unsigned long ftrace_call_adjust(unsigned long addr) | ||
21 | { | ||
22 | return addr; | ||
23 | } | ||
24 | |||
25 | struct dyn_arch_ftrace { | ||
26 | /* No extra data needed for Blackfin */ | ||
27 | }; | ||
28 | |||
29 | #endif | ||
30 | |||
15 | #ifdef CONFIG_FRAME_POINTER | 31 | #ifdef CONFIG_FRAME_POINTER |
16 | #include <linux/mm.h> | 32 | #include <linux/mm.h> |
17 | 33 | ||