aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJisheng Zhang <Jisheng.Zhang@synaptics.com>2019-08-26 09:13:12 +0000
committerThomas Gleixner <tglx@linutronix.de>2019-08-26 16:51:04 +0200
commit248d327ed7b6d3ebda2ac7b38482a306108bcd3e (patch)
tree9add4cc47829a2790df15d7b513f039c67dd385c
parentx86/PCI: Remove superfluous returns from void functions (diff)
downloadwireguard-linux-248d327ed7b6d3ebda2ac7b38482a306108bcd3e.tar.xz
wireguard-linux-248d327ed7b6d3ebda2ac7b38482a306108bcd3e.zip
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);