summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJisheng Zhang <Jisheng.Zhang@synaptics.com>2019-08-26 12:13:12 +0300
committerThomas Gleixner <tglx@linutronix.de>2019-08-26 17:51:04 +0300
commit248d327ed7b6d3ebda2ac7b38482a306108bcd3e (patch)
tree9add4cc47829a2790df15d7b513f039c67dd385c
parentf25896ebfe0cf818ebd1adb5e6a05dc40b820e45 (diff)
downloadlinux-248d327ed7b6d3ebda2ac7b38482a306108bcd3e.tar.xz
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 <Jisheng.Zhang@synaptics.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lkml.kernel.org/r20190826170150.10f101ba@xhacker.debian
-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);