summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm
diff options
context:
space:
mode:
authorJisheng Zhang (syna) <Jisheng.Zhang@synaptics.com>2019-11-20 07:57:14 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2019-11-22 01:19:16 +0100
commit1a70cf0e7ee6e73aa29c2dd4dd8d3d38c48d5946 (patch)
tree2807ec612c3e7acba28c9031cd059dc2e7762141 /arch/arm/include/asm
parentARM: 8939/1: kbuild: use correct nm executable (diff)
downloadlinux-1a70cf0e7ee6e73aa29c2dd4dd8d3d38c48d5946.tar.xz
linux-1a70cf0e7ee6e73aa29c2dd4dd8d3d38c48d5946.zip
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>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r--arch/arm/include/asm/ftrace.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/include/asm/ftrace.h b/arch/arm/include/asm/ftrace.h
index 18b0197f2384..48ec1d0337da 100644
--- a/arch/arm/include/asm/ftrace.h
+++ b/arch/arm/include/asm/ftrace.h
@@ -11,7 +11,6 @@
#define MCOUNT_INSN_SIZE 4 /* sizeof mcount call */
#ifndef __ASSEMBLY__
-extern void mcount(void);
extern void __gnu_mcount_nc(void);
#ifdef CONFIG_DYNAMIC_FTRACE
@@ -23,9 +22,6 @@ static inline unsigned long ftrace_call_adjust(unsigned long addr)
/* With Thumb-2, the recorded addresses have the lsb set */
return addr & ~1;
}
-
-extern void ftrace_caller_old(void);
-extern void ftrace_call_old(void);
#endif
#endif