summaryrefslogtreecommitdiff
path: root/arch/sparc/Kconfig.debug
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/Kconfig.debug')
-rw-r--r--arch/sparc/Kconfig.debug21
1 files changed, 14 insertions, 7 deletions
diff --git a/arch/sparc/Kconfig.debug b/arch/sparc/Kconfig.debug
index 50a918d496c8..d475a056a2e0 100644
--- a/arch/sparc/Kconfig.debug
+++ b/arch/sparc/Kconfig.debug
@@ -1,9 +1,5 @@
# SPDX-License-Identifier: GPL-2.0
-config TRACE_IRQFLAGS_SUPPORT
- bool
- default y
-
config DEBUG_DCFLUSH
bool "D-cache flush debugging"
depends on SPARC64 && DEBUG_KERNEL
@@ -12,9 +8,20 @@ config MCOUNT
bool
depends on SPARC64
depends on FUNCTION_TRACER
+ select ARCH_WANT_FRAME_POINTERS
+ select FRAME_POINTER
default y
-config FRAME_POINTER
+config HAVE_HARDLOCKUP_DETECTOR_SPARC64
bool
- depends on MCOUNT
- default y
+ 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