Skip to content

Commit 626db6e

Browse files
masahir0yandreas-gaisler
authored andcommitted
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 <[email protected]> Reviewed-by: Randy Dunlap <[email protected]> Signed-off-by: Andreas Larsson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 5378f00 commit 626db6e

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

arch/sparc/Kconfig.debug

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,8 @@ config MCOUNT
88
bool
99
depends on SPARC64
1010
depends on FUNCTION_TRACER
11-
default y
12-
13-
config FRAME_POINTER
14-
bool
15-
depends on MCOUNT
11+
select ARCH_WANT_FRAME_POINTERS
12+
select FRAME_POINTER
1613
default y
1714

1815
config HAVE_HARDLOCKUP_DETECTOR_SPARC64

0 commit comments

Comments
 (0)