mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-23 12:14:10 +08:00
626db6ee8e
Because FRAME_POINTER is defined in lib/Kconfig.debug, the arch Kconfig should select it. Add 'select FRAME_POINTER' to MCOUNT. ARCH_WANT_FRAME_POINTERS must also be selected to avoid the unmet dependency warning. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Andreas Larsson <andreas@gaisler.com> Link: https://lore.kernel.org/r/20240215135749.1909812-1-masahiroy@kernel.org
28 lines
735 B
Plaintext
28 lines
735 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
|
|
select ARCH_WANT_FRAME_POINTERS
|
|
select FRAME_POINTER
|
|
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
|