ftrace.h (50e59058a42056063add41c2d900d1b162e2d6d6) ftrace.h (1712ef43af71b0a0498ad370f0829d6b85fa2dca)
1#ifndef _ASM_ARM_FTRACE
2#define _ASM_ARM_FTRACE
3
4#ifdef CONFIG_FUNCTION_TRACER
5#define MCOUNT_ADDR ((unsigned long)(__gnu_mcount_nc))
6#define MCOUNT_INSN_SIZE 4 /* sizeof mcount call */
7
8#ifndef __ASSEMBLY__

--- 38 unchanged lines hidden (view full) ---

47
48extern inline void *return_address(unsigned int level)
49{
50 return NULL;
51}
52
53#endif
54
1#ifndef _ASM_ARM_FTRACE
2#define _ASM_ARM_FTRACE
3
4#ifdef CONFIG_FUNCTION_TRACER
5#define MCOUNT_ADDR ((unsigned long)(__gnu_mcount_nc))
6#define MCOUNT_INSN_SIZE 4 /* sizeof mcount call */
7
8#ifndef __ASSEMBLY__

--- 38 unchanged lines hidden (view full) ---

47
48extern inline void *return_address(unsigned int level)
49{
50 return NULL;
51}
52
53#endif
54
55#define ftrace_return_addr(n) return_address(n)
55#define ftrace_return_address(n) return_address(n)
56
57#endif /* ifndef __ASSEMBLY__ */
58
59#endif /* _ASM_ARM_FTRACE */
56
57#endif /* ifndef __ASSEMBLY__ */
58
59#endif /* _ASM_ARM_FTRACE */