]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
panic: remove CONFIG_PANIC_ON_OOPS_VALUE
authorJohannes Berg <johannes.berg@intel.com>
Wed, 24 Sep 2025 09:43:04 +0000 (11:43 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 28 Sep 2025 18:36:13 +0000 (11:36 -0700)
commit1daf37592a050da046a03f78b20abb2a91f6d934
tree25325a44bf9bafa3fd4f96d1aa56a99ed6241a17
parent8f45f089337d924db24397f55697cda0e6960516
panic: remove CONFIG_PANIC_ON_OOPS_VALUE

There's really no need for this since it's 0 or 1 when
CONFIG_PANIC_ON_OOPS is disabled/enabled, so just use IS_ENABLED()
instead.  The extra symbol goes back to the original code adding it in
commit 2a01bb3885c9 ("panic: Make panic_on_oops configurable").

Link: https://lkml.kernel.org/r/20250924094303.18521-2-johannes@sipsolutions.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/panic.c
lib/Kconfig.debug