Skip to content

Commit

Permalink
ftrace/x86: Remove mcount() declaration
Browse files Browse the repository at this point in the history
Commit 562e14f ("ftrace/x86: Remove mcount support") removed the
support for using mcount, so we could remove the mcount() declaration
to clean up.

Link: http://lkml.kernel.org/r/[email protected]

Signed-off-by: Jisheng Zhang <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
  • Loading branch information
Jisheng Zhang authored and rostedt committed Aug 31, 2019
1 parent 19a58ce commit 2e81562
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/x86/include/asm/ftrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#define HAVE_FUNCTION_GRAPH_RET_ADDR_PTR

#ifndef __ASSEMBLY__
extern void mcount(void);
extern atomic_t modifying_ftrace_code;
extern void __fentry__(void);

Expand Down

0 comments on commit 2e81562

Please sign in to comment.