aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/hexagon
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-02-15 23:07:02 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2024-02-20 20:47:45 +0900
commit6b1c2a19cb30563c11c6d2dd0b6fc7af6a8e4455 (patch)
treedc244ea58c8e88b9274ada9453a3c7677978159f /arch/hexagon
parenttreewide: replace or remove redundant def_bool in Kconfig files (diff)
downloadwireguard-linux-6b1c2a19cb30563c11c6d2dd0b6fc7af6a8e4455.tar.xz
wireguard-linux-6b1c2a19cb30563c11c6d2dd0b6fc7af6a8e4455.zip
hexagon: 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 HEXAGON. 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> Acked-by: Brian Cain <bcain@quicinc.com>
Diffstat (limited to 'arch/hexagon')
-rw-r--r--arch/hexagon/Kconfig5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/hexagon/Kconfig b/arch/hexagon/Kconfig
index a880ee067d2e..e922026fef09 100644
--- a/arch/hexagon/Kconfig
+++ b/arch/hexagon/Kconfig
@@ -7,7 +7,9 @@ config HEXAGON
select ARCH_32BIT_OFF_T
select ARCH_HAS_SYNC_DMA_FOR_DEVICE
select ARCH_NO_PREEMPT
+ select ARCH_WANT_FRAME_POINTERS
select DMA_GLOBAL_POOL
+ select FRAME_POINTER
# Other pending projects/to-do items.
# select HAVE_REGS_AND_STACK_ACCESS_API
# select HAVE_HW_BREAKPOINT if PERF_EVENTS
@@ -43,9 +45,6 @@ config HEXAGON_PHYS_OFFSET
help
Platforms that don't load the kernel at zero set this.
-config FRAME_POINTER
- def_bool y
-
config LOCKDEP_SUPPORT
def_bool y