OSDN Git Service

Revert "ARM: 9144/1: forbid ftrace with clang and thumb2_kernel"
authorArd Biesheuvel <ardb@kernel.org>
Wed, 26 Jan 2022 10:43:39 +0000 (11:43 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Thu, 10 Feb 2022 08:55:05 +0000 (09:55 +0100)
This reverts commit ecb108e3e3f7c692082b7c6fce41779c3835854a.

Clang + Thumb2 with ftrace is now supported.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
arch/arm/Kconfig

index ec98387..5c9a8d3 100644 (file)
@@ -92,7 +92,7 @@ config ARM
        select HAVE_FAST_GUP if ARM_LPAE
        select HAVE_FTRACE_MCOUNT_RECORD if !XIP_KERNEL
        select HAVE_FUNCTION_GRAPH_TRACER
-       select HAVE_FUNCTION_TRACER if !XIP_KERNEL && !(THUMB2_KERNEL && CC_IS_CLANG)
+       select HAVE_FUNCTION_TRACER if !XIP_KERNEL
        select HAVE_FUTEX_CMPXCHG if FUTEX
        select HAVE_GCC_PLUGINS
        select HAVE_HW_BREAKPOINT if PERF_EVENTS && (CPU_V6 || CPU_V6K || CPU_V7)