]> git.baikalelectronics.ru Git - kernel.git/commit
lib/Kconfig.debug: remove more CONFIG_..._VALUE indirections
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Fri, 29 Apr 2022 21:38:00 +0000 (14:38 -0700)
committerakpm <akpm@linux-foundation.org>
Fri, 29 Apr 2022 21:38:00 +0000 (14:38 -0700)
commit3835033df5ca67c4629a531a44adc3c7e9c5cbd4
tree45780b50c94460c6ac2031c3b06acec9ae39e78c
parentbfceffdfd46a740df892dee53d44b5a734084b98
lib/Kconfig.debug: remove more CONFIG_..._VALUE indirections

As in "kernel/panic.c: remove CONFIG_PANIC_ON_OOPS_VALUE indirection",
use the IS_ENABLED() helper rather than having a hidden config option.

Link: https://lkml.kernel.org/r/20220321121301.1389693-1-linux@rasmusvillemoes.dk
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Kees Cook <keescook@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/hung_task.c
kernel/watchdog.c
lib/Kconfig.debug