sparc: select FRAME_POINTER instead of redefining it
authorMasahiro Yamada <masahiroy@kernel.org>
Thu, 15 Feb 2024 13:57:49 +0000 (22:57 +0900)
committerAndreas Larsson <andreas@gaisler.com>
Fri, 16 Feb 2024 15:50:26 +0000 (16:50 +0100)
commit626db6ee8ee1edac206610db407114aa83b53fd3
tree306aef42a621464d8cf905c3eb3913478c4264ea
parent5378f00c935bebb846b1fdb0e79cb76c137c56b5
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
arch/sparc/Kconfig.debug