2 * arch/arm64/include/asm/ftrace.h
4 * Copyright (C) 2013 Linaro Limited
5 * Author: AKASHI Takahiro <takahiro.akashi@linaro.org>
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
11 #ifndef __ASM_FTRACE_H
12 #define __ASM_FTRACE_H
16 #define MCOUNT_ADDR ((unsigned long)_mcount)
17 #define MCOUNT_INSN_SIZE AARCH64_INSN_SIZE
20 extern void _mcount(unsigned long);
21 #endif /* __ASSEMBLY__ */
23 #endif /* __ASM_FTRACE_H */