Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: 8940/1: ftrace: remove mcount(),ftrace_caller_old() and ftrace_call_old()

Commit d3c61619568c ("ARM: 8788/1: ftrace: remove old mcount support")
removed the old mcount support, but forget to remove these three
declarations. This patch removes them.

Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>

authored by

Jisheng Zhang (syna) and committed by
Russell King
1a70cf0e 29c623d6

-4
-4
arch/arm/include/asm/ftrace.h
··· 11 11 #define MCOUNT_INSN_SIZE 4 /* sizeof mcount call */ 12 12 13 13 #ifndef __ASSEMBLY__ 14 - extern void mcount(void); 15 14 extern void __gnu_mcount_nc(void); 16 15 17 16 #ifdef CONFIG_DYNAMIC_FTRACE ··· 22 23 /* With Thumb-2, the recorded addresses have the lsb set */ 23 24 return addr & ~1; 24 25 } 25 - 26 - extern void ftrace_caller_old(void); 27 - extern void ftrace_call_old(void); 28 26 #endif 29 27 30 28 #endif