xtensa: drop ARCH_WANT_FRAME_POINTERS
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 11 Jan 2023 22:35:38 +0000 (14:35 -0800)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 13 Jun 2023 02:48:57 +0000 (19:48 -0700)
commit959b76a909bf520b3b2ead067db487a80d19663d
tree0450e29383ed44091cee40b5cb53c518a54004bb
parente6807b44e49aa737b4ee9fb614da3152e2ce49c0
xtensa: drop ARCH_WANT_FRAME_POINTERS

ARCH_WANT_FRAME_POINTERS was enabled in the xtensa Kconfig in the commit
8f371c752154 ("xtensa: enable lockdep support"), but neither windowed
nor call0 xtensa ABI need frame pointers for stack tracing.
Drop ARCH_WANT_FRAME_POINTERS from the xtensa Kconfig.
Drop ftrace_return_address0 definition as the generic implementation is
correct.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/Kconfig
arch/xtensa/include/asm/ftrace.h
arch/xtensa/kernel/stacktrace.c