diff options
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/include/asm/ftrace.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/arch/blackfin/include/asm/ftrace.h b/arch/blackfin/include/asm/ftrace.h index 8a029505d7b7..2f1c3c2657ad 100644 --- a/arch/blackfin/include/asm/ftrace.h +++ b/arch/blackfin/include/asm/ftrace.h | |||
@@ -66,16 +66,7 @@ extern inline void *return_address(unsigned int level) | |||
66 | 66 | ||
67 | #endif /* CONFIG_FRAME_POINTER */ | 67 | #endif /* CONFIG_FRAME_POINTER */ |
68 | 68 | ||
69 | #define HAVE_ARCH_CALLER_ADDR | 69 | #define ftrace_return_address(n) return_address(n) |
70 | |||
71 | /* inline function or macro may lead to unexpected result */ | ||
72 | #define CALLER_ADDR0 ((unsigned long)__builtin_return_address(0)) | ||
73 | #define CALLER_ADDR1 ((unsigned long)return_address(1)) | ||
74 | #define CALLER_ADDR2 ((unsigned long)return_address(2)) | ||
75 | #define CALLER_ADDR3 ((unsigned long)return_address(3)) | ||
76 | #define CALLER_ADDR4 ((unsigned long)return_address(4)) | ||
77 | #define CALLER_ADDR5 ((unsigned long)return_address(5)) | ||
78 | #define CALLER_ADDR6 ((unsigned long)return_address(6)) | ||
79 | 70 | ||
80 | #endif /* __ASSEMBLY__ */ | 71 | #endif /* __ASSEMBLY__ */ |
81 | 72 | ||