diff options
author | Arnd Bergmann <arnd@arndb.de> | 2011-06-10 10:12:21 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2011-10-01 15:08:43 -0400 |
commit | 89bace652cbfb78a2fd830025f8ea048d6eb3657 (patch) | |
tree | 6bd41b49614a50bd7f4bd8743da9006b926dce04 /lib/Kconfig.debug | |
parent | 9934ebb8ffb1554ad76764b6e71767378d051329 (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 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index c0cb9c4bc46d..103c171ce605 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -1081,7 +1081,7 @@ config FAULT_INJECTION_STACKTRACE_FILTER | |||
1081 | depends on FAULT_INJECTION_DEBUG_FS && STACKTRACE_SUPPORT | 1081 | depends on FAULT_INJECTION_DEBUG_FS && STACKTRACE_SUPPORT |
1082 | depends on !X86_64 | 1082 | depends on !X86_64 |
1083 | select STACKTRACE | 1083 | select STACKTRACE |
1084 | select FRAME_POINTER if !PPC && !S390 && !MICROBLAZE | 1084 | select FRAME_POINTER if !PPC && !S390 && !MICROBLAZE && !ARM_UNWIND |
1085 | help | 1085 | help |
1086 | Provide stacktrace filter for fault-injection capabilities | 1086 | Provide stacktrace filter for fault-injection capabilities |
1087 | 1087 | ||
@@ -1091,7 +1091,7 @@ config LATENCYTOP | |||
1091 | depends on DEBUG_KERNEL | 1091 | depends on DEBUG_KERNEL |
1092 | depends on STACKTRACE_SUPPORT | 1092 | depends on STACKTRACE_SUPPORT |
1093 | depends on PROC_FS | 1093 | depends on PROC_FS |
1094 | select FRAME_POINTER if !MIPS && !PPC && !S390 && !MICROBLAZE | 1094 | select FRAME_POINTER if !MIPS && !PPC && !S390 && !MICROBLAZE && !ARM_UNWIND |
1095 | select KALLSYMS | 1095 | select KALLSYMS |
1096 | select KALLSYMS_ALL | 1096 | select KALLSYMS_ALL |
1097 | select STACKTRACE | 1097 | select STACKTRACE |