From: Nathan Chancellor Date: Mon, 29 Nov 2021 16:58:02 +0000 (-0700) Subject: gcov: Remove compiler version check X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0766bffcae0706baddea6aa3f85b43031ede0e0d;p=linux.git gcov: Remove compiler version check The minimum supported version of LLVM has been raised to 11.0.0, meaning this check is always true, so it can be dropped. Signed-off-by: Nathan Chancellor Reviewed-by: Miguel Ojeda Reviewed-by: Mark Brown Reviewed-by: Nick Desaulniers Reviewed-by: Kees Cook Signed-off-by: Masahiro Yamada --- diff --git a/kernel/gcov/Kconfig b/kernel/gcov/Kconfig index 053447183ac5b..04f4ebdc3cf59 100644 --- a/kernel/gcov/Kconfig +++ b/kernel/gcov/Kconfig @@ -4,7 +4,6 @@ menu "GCOV-based kernel profiling" config GCOV_KERNEL bool "Enable gcov-based kernel profiling" depends on DEBUG_FS - depends on !CC_IS_CLANG || CLANG_VERSION >= 110000 depends on !ARCH_WANTS_NO_INSTR || CC_HAS_NO_PROFILE_FN_ATTR select CONSTRUCTORS default n