aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ftrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ftrace.h')
-rw-r--r--include/linux/ftrace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h
index 08fbef1744cc..0d3714e7110b 100644
--- a/include/linux/ftrace.h
+++ b/include/linux/ftrace.h
@@ -93,6 +93,7 @@ static inline void tracer_disable(void)
93# define CALLER_ADDR3 ((unsigned long)__builtin_return_address(3)) 93# define CALLER_ADDR3 ((unsigned long)__builtin_return_address(3))
94# define CALLER_ADDR4 ((unsigned long)__builtin_return_address(4)) 94# define CALLER_ADDR4 ((unsigned long)__builtin_return_address(4))
95# define CALLER_ADDR5 ((unsigned long)__builtin_return_address(5)) 95# define CALLER_ADDR5 ((unsigned long)__builtin_return_address(5))
96# define CALLER_ADDR6 ((unsigned long)__builtin_return_address(6))
96#else 97#else
97# define CALLER_ADDR0 ((unsigned long)__builtin_return_address(0)) 98# define CALLER_ADDR0 ((unsigned long)__builtin_return_address(0))
98# define CALLER_ADDR1 0UL 99# define CALLER_ADDR1 0UL
@@ -100,6 +101,7 @@ static inline void tracer_disable(void)
100# define CALLER_ADDR3 0UL 101# define CALLER_ADDR3 0UL
101# define CALLER_ADDR4 0UL 102# define CALLER_ADDR4 0UL
102# define CALLER_ADDR5 0UL 103# define CALLER_ADDR5 0UL
104# define CALLER_ADDR6 0UL
103#endif 105#endif
104 106
105#ifdef CONFIG_IRQSOFF_TRACER 107#ifdef CONFIG_IRQSOFF_TRACER