ARM: ftrace: remove old mcount support
Subsystems (2)
PATCH 1/1 ARM: 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 <[email protected]>
---
Besides cleaning up code it also simplifies changes changes for clang support, if added...
--
Stefan
arch/arm/Kconfig.debug | 5 --- arch/arm/include/asm/ftrace.h | 3 -- arch/arm/kernel/armksyms.c | 3 -- arch/arm/kernel/entry-ftrace.S | 75 ++-------------------------------- arch/arm/kernel/ftrace.c | 51 ----------------------- 5 files changed, 4 insertions(+), 133 deletions(-)
arch/arm/Kconfig.debug +0 -5
@@ -73,11 +73,6 @@ config ARM_UNWIND the performance is not affected. Currently, this feature only works with EABI compilers. If unsure say Y. -config OLD_MCOUNT - bool - depends on FUNCTION_TRACER && FRAME_POINTER - default y - config DEBUG_USER bool "Verbose user fault messages" help
arch/arm/include/asm/ftrace.h +0 -3
@@ -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)
arch/arm/kernel/armksyms.c +0 -3
@@ -167,9 +167,6 @@ EXPORT_SYMBOL(_find_next_bit_be);#endif #ifdef CONFIG_FUNCTION_TRACER -#ifdef CONFIG_OLD_MCOUNT -EXPORT_SYMBOL (mcount); -#endif EXPORT_SYMBOL (__gnu_mcount_nc);#endif
arch/arm/kernel/entry-ftrace.S +4 -71
95 lines not on this page · raw message
arch/arm/kernel/ftrace.c +0 -51
81 lines not on this page · raw message
Signature · 1 line
2.18.0