]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit - kernel/watchdog.c
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)
commit67fca000e1e173fe2c539a127ccf1bc338d5ff37
tree45780b50c94460c6ac2031c3b06acec9ae39e78c
parentd4557fae77079f4e53f06712395c7a28e3734eb7
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