diff options
Diffstat (limited to 'lib/Kconfig.debug')
| -rw-r--r-- | lib/Kconfig.debug | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 554ee688a9f8..b0f5ca72599f 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
| @@ -8,6 +8,13 @@ config PRINTK_TIME | |||
| 8 | operations. This is useful for identifying long delays | 8 | operations. This is useful for identifying long delays |
| 9 | in kernel startup. | 9 | in kernel startup. |
| 10 | 10 | ||
| 11 | config ENABLE_MUST_CHECK | ||
| 12 | bool "Enable __must_check logic" | ||
| 13 | default y | ||
| 14 | help | ||
| 15 | Enable the __must_check logic in the kernel build. Disable this to | ||
| 16 | suppress the "warning: ignoring return value of 'foo', declared with | ||
| 17 | attribute warn_unused_result" messages. | ||
| 11 | 18 | ||
| 12 | config MAGIC_SYSRQ | 19 | config MAGIC_SYSRQ |
| 13 | bool "Magic SysRq key" | 20 | bool "Magic SysRq key" |
| @@ -218,7 +225,7 @@ config LOCKDEP | |||
| 218 | bool | 225 | bool |
| 219 | depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT | 226 | depends on DEBUG_KERNEL && TRACE_IRQFLAGS_SUPPORT && STACKTRACE_SUPPORT && LOCKDEP_SUPPORT |
| 220 | select STACKTRACE | 227 | select STACKTRACE |
| 221 | select FRAME_POINTER | 228 | select FRAME_POINTER if !X86 |
| 222 | select KALLSYMS | 229 | select KALLSYMS |
| 223 | select KALLSYMS_ALL | 230 | select KALLSYMS_ALL |
| 224 | 231 | ||
| @@ -277,7 +284,7 @@ config DEBUG_HIGHMEM | |||
| 277 | config DEBUG_BUGVERBOSE | 284 | config DEBUG_BUGVERBOSE |
| 278 | bool "Verbose BUG() reporting (adds 70K)" if DEBUG_KERNEL && EMBEDDED | 285 | bool "Verbose BUG() reporting (adds 70K)" if DEBUG_KERNEL && EMBEDDED |
| 279 | depends on BUG | 286 | depends on BUG |
| 280 | depends on ARM || ARM26 || M32R || M68K || SPARC32 || SPARC64 || X86_32 || FRV | 287 | depends on ARM || ARM26 || AVR32 || M32R || M68K || SPARC32 || SPARC64 || X86_32 || FRV || SUPERH |
| 281 | default !EMBEDDED | 288 | default !EMBEDDED |
| 282 | help | 289 | help |
| 283 | Say Y here to make BUG() panics output the file name and line number | 290 | Say Y here to make BUG() panics output the file name and line number |
| @@ -315,7 +322,7 @@ config DEBUG_VM | |||
| 315 | 322 | ||
| 316 | config FRAME_POINTER | 323 | config FRAME_POINTER |
| 317 | bool "Compile the kernel with frame pointers" | 324 | bool "Compile the kernel with frame pointers" |
| 318 | depends on DEBUG_KERNEL && (X86 || CRIS || M68K || M68KNOMMU || FRV || UML || S390) | 325 | depends on DEBUG_KERNEL && (X86 || CRIS || M68K || M68KNOMMU || FRV || UML || S390 || AVR32 || SUPERH) |
| 319 | default y if DEBUG_INFO && UML | 326 | default y if DEBUG_INFO && UML |
| 320 | help | 327 | help |
| 321 | If you say Y here the resulting kernel image will be slightly larger | 328 | If you say Y here the resulting kernel image will be slightly larger |
