aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/ftrace.h
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2018-09-11 04:31:49 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2018-09-19 10:44:50 +0100
commitd3c61619568c88d48eccd5e74b4f84faa1440652 (patch)
treee0f5436fb62a616a6f0421258d904df3a7ff647d /arch/arm/include/asm/ftrace.h
parentARM: 8786/1: Debug kernel copy by printing (diff)
downloadlinux-dev-d3c61619568c88d48eccd5e74b4f84faa1440652.tar.xz
linux-dev-d3c61619568c88d48eccd5e74b4f84faa1440652.zip
ARM: 8788/1: ftrace: remove old mcount support
Commit cafa0010cd51 ("Raise the minimum required gcc version to 4.6") raised the minimum GCC version to 4.6. Old mcount is only required for GCC versions older than 4.4.0. Hence old mcount support can be dropped too. Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/ftrace.h')
-rw-r--r--arch/arm/include/asm/ftrace.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/include/asm/ftrace.h b/arch/arm/include/asm/ftrace.h
index 9e842ff41768..18b0197f2384 100644
--- a/arch/arm/include/asm/ftrace.h
+++ b/arch/arm/include/asm/ftrace.h
@@ -16,9 +16,6 @@ extern void __gnu_mcount_nc(void);
#ifdef CONFIG_DYNAMIC_FTRACE
struct dyn_arch_ftrace {
-#ifdef CONFIG_OLD_MCOUNT
- bool old_mcount;
-#endif
};
static inline unsigned long ftrace_call_adjust(unsigned long addr)