There's no need to support either DYNAMIC_FTRACE=n or mcount (non fentry) in x86_32. As the static tracing (DYNAMIC_FTRACE=n) does not support fentry, we can just remove it, as the static tracing is only around to test the static tracing in generic code as other architectures have it but not DYNAMIC_FTRACE. This will allow also allow us to remove klp_check_compiler_support() in later patches. Steven Rostedt (VMware) (2): ftrace/x86_32: Remove support for non DYNAMIC_FTRACE ftrace/x86: Remove mcount support ---- arch/x86/Kconfig | 11 ++++++ arch/x86/include/asm/ftrace.h | 8 ++--- arch/x86/include/asm/livepatch.h | 3 -- arch/x86/kernel/ftrace_32.S | 75 +++------------------------------------- arch/x86/kernel/ftrace_64.S | 28 +-------------- 5 files changed, 20 insertions(+), 105 deletions(-)