aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJisheng Zhang <[email protected]>2019-08-26 09:13:12 +0000
committerThomas Gleixner <[email protected]>2019-08-26 16:51:04 +0200
commit248d327ed7b6d3ebda2ac7b38482a306108bcd3e (patch)
tree9add4cc47829a2790df15d7b513f039c67dd385c
parentf25896ebfe0cf818ebd1adb5e6a05dc40b820e45 (diff)
x86/ftrace: Remove mcount() declaration
Commit 562e14f72292 ("ftrace/x86: Remove mcount support") removed the support for mcount, but forgot to remove the mcount() declaration. Clean it up. Signed-off-by: Jisheng Zhang <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lkml.kernel.org/[email protected]
-rw-r--r--arch/x86/include/asm/ftrace.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/ftrace.h b/arch/x86/include/asm/ftrace.h
index 287f1f7b2e52..c38a66661576 100644
--- a/arch/x86/include/asm/ftrace.h
+++ b/arch/x86/include/asm/ftrace.h
@@ -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);