sparc: select FRAME_POINTER instead of redefining it
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
This commit is contained in:
parent
5378f00c93
commit
626db6ee8e
@ -8,11 +8,8 @@ config MCOUNT
|
|||||||
bool
|
bool
|
||||||
depends on SPARC64
|
depends on SPARC64
|
||||||
depends on FUNCTION_TRACER
|
depends on FUNCTION_TRACER
|
||||||
default y
|
select ARCH_WANT_FRAME_POINTERS
|
||||||
|
select FRAME_POINTER
|
||||||
config FRAME_POINTER
|
|
||||||
bool
|
|
||||||
depends on MCOUNT
|
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config HAVE_HARDLOCKUP_DETECTOR_SPARC64
|
config HAVE_HARDLOCKUP_DETECTOR_SPARC64
|
||||||
|
Loading…
Reference in New Issue
Block a user