aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-09-28 08:29:59 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-09-28 08:29:59 -0400
commit185a257f2f73bcd89050ad02da5bedbc28fc43fa (patch)
tree5e32586114534ed3f2165614cba3d578f5d87307 /lib/Kconfig.debug
parent3f1a9aaeffd8d1cbc5ab9776c45cbd66af1c9699 (diff)
parenta77c64c1a641950626181b4857abb701d8f38ccc (diff)
Merge branch 'master' into gfs2
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug13
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
11config 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
12config MAGIC_SYSRQ 19config 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
277config DEBUG_BUGVERBOSE 284config 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
316config FRAME_POINTER 323config 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