Skip to content

Commit

Permalink
hexagon: select FRAME_POINTER instead of redefining it
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Masahiro Yamada committed Feb 20, 2024
1 parent cd14b01 commit 6b1c2a1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions arch/hexagon/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 6b1c2a1

Please sign in to comment.