mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-15 15:04:27 +08:00
47f4cb4339
The HAVE_ prefix means that the code could be enabled. Add another variable for HAVE_HARDLOCKUP_DETECTOR_SPARC64 without this prefix. It will be set when it should be built. It will make it compatible with the other hardlockup detectors. Before, it is far from obvious that the SPARC64 variant is actually used: $> make ARCH=sparc64 defconfig $> grep HARDLOCKUP_DETECTOR .config CONFIG_HAVE_HARDLOCKUP_DETECTOR_BUDDY=y CONFIG_HAVE_HARDLOCKUP_DETECTOR_SPARC64=y After, it is more clear: $> make ARCH=sparc64 defconfig $> grep HARDLOCKUP_DETECTOR .config CONFIG_HAVE_HARDLOCKUP_DETECTOR_BUDDY=y CONFIG_HAVE_HARDLOCKUP_DETECTOR_SPARC64=y CONFIG_HARDLOCKUP_DETECTOR_SPARC64=y Link: https://lkml.kernel.org/r/20230616150618.6073-6-pmladek@suse.com Signed-off-by: Petr Mladek <pmladek@suse.com> Reviewed-by: Douglas Anderson <dianders@chromium.org> Cc: Christophe Leroy <christophe.leroy@csgroup.eu> Cc: "David S. Miller" <davem@davemloft.net> Cc: Michael Ellerman <mpe@ellerman.id.au> Cc: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
31 lines
738 B
Plaintext
31 lines
738 B
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
config DEBUG_DCFLUSH
|
|
bool "D-cache flush debugging"
|
|
depends on SPARC64 && DEBUG_KERNEL
|
|
|
|
config MCOUNT
|
|
bool
|
|
depends on SPARC64
|
|
depends on FUNCTION_TRACER
|
|
default y
|
|
|
|
config FRAME_POINTER
|
|
bool
|
|
depends on MCOUNT
|
|
default y
|
|
|
|
config HAVE_HARDLOCKUP_DETECTOR_SPARC64
|
|
bool
|
|
depends on HAVE_NMI
|
|
select HARDLOCKUP_DETECTOR_SPARC64
|
|
help
|
|
Sparc64 hardlockup detector is the last one developed before adding
|
|
the common infrastructure for handling hardlockup detectors. It is
|
|
always built. It does _not_ use the common command line parameters
|
|
and sysctl interface, except for /proc/sys/kernel/nmi_watchdog.
|
|
|
|
config HARDLOCKUP_DETECTOR_SPARC64
|
|
bool
|
|
depends on HAVE_HARDLOCKUP_DETECTOR_SPARC64
|