aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-arm/ftrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-arm/ftrace.h')
-rw-r--r--include/asm-arm/ftrace.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/asm-arm/ftrace.h b/include/asm-arm/ftrace.h
new file mode 100644
index 000000000000..584ef9a8e5a5
--- /dev/null
+++ b/include/asm-arm/ftrace.h
@@ -0,0 +1,14 @@
1#ifndef _ASM_ARM_FTRACE
2#define _ASM_ARM_FTRACE
3
4#ifdef CONFIG_FTRACE
5#define MCOUNT_ADDR ((long)(mcount))
6#define MCOUNT_INSN_SIZE 4 /* sizeof mcount call */
7
8#ifndef __ASSEMBLY__
9extern void mcount(void);
10#endif
11
12#endif
13
14#endif /* _ASM_ARM_FTRACE */