aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2011-06-10 10:12:21 -0400
committerArnd Bergmann <arnd@arndb.de>2011-10-01 15:08:43 -0400
commit89bace652cbfb78a2fd830025f8ea048d6eb3657 (patch)
tree6bd41b49614a50bd7f4bd8743da9006b926dce04 /arch/arm/Kconfig
parent9934ebb8ffb1554ad76764b6e71767378d051329 (diff)
ARM: always use ARM_UNWIND for thumb2 kernels
Thumb2 kernels cannot be built with frame pointers, but can use the ARM_UNWIND feature for unwinding instead. This makes sure that all features that rely on unwinding includeing CONFIG_LATENCYTOP and FAULT_INJECTION_STACKTRACE_FILTER do not enable frame pointers when the unwinder is already selected, and we always build with the unwinder when we want a thumb2 kernel, to make sure we do not get the frame pointers instead. A different option would be to redefine the CONFIG_FRAME_POINTERS option on ARM to mean builing with either frame pointers or the unwinder, and then select which one to use based on the CPU architecture or another user option. That would still allow building thumb2 kernels without the unwinder but would also be more confusing. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 4e1eee0c2d64..497af51e9176 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1457,6 +1457,7 @@ config THUMB2_KERNEL
1457 depends on CPU_V7 && !CPU_V6 && !CPU_V6K && EXPERIMENTAL 1457 depends on CPU_V7 && !CPU_V6 && !CPU_V6K && EXPERIMENTAL
1458 select AEABI 1458 select AEABI
1459 select ARM_ASM_UNIFIED 1459 select ARM_ASM_UNIFIED
1460 select ARM_UNWIND
1460 help 1461 help
1461 By enabling this option, the kernel will be compiled in 1462 By enabling this option, the kernel will be compiled in
1462 Thumb-2 mode. A compiler/assembler that understand the unified 1463 Thumb-2 mode. A compiler/assembler that understand the unified