Skip to content

Commit 1a70cf0

Browse files
rvoskRussell King
authored andcommitted
ARM: 8940/1: ftrace: remove mcount(),ftrace_caller_old() and ftrace_call_old()
Commit d3c6161 ("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 <[email protected]> Acked-by: Steven Rostedt (VMware) <[email protected]> Signed-off-by: Russell King <[email protected]>
1 parent 29c623d commit 1a70cf0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

arch/arm/include/asm/ftrace.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#define MCOUNT_INSN_SIZE 4 /* sizeof mcount call */
1212

1313
#ifndef __ASSEMBLY__
14-
extern void mcount(void);
1514
extern void __gnu_mcount_nc(void);
1615

1716
#ifdef CONFIG_DYNAMIC_FTRACE
@@ -23,9 +22,6 @@ static inline unsigned long ftrace_call_adjust(unsigned long addr)
2322
/* With Thumb-2, the recorded addresses have the lsb set */
2423
return addr & ~1;
2524
}
26-
27-
extern void ftrace_caller_old(void);
28-
extern void ftrace_call_old(void);
2925
#endif
3026

3127
#endif

0 commit comments

Comments
 (0)