aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2007-10-22 14:01:06 -0400
committerJens Axboe <jens.axboe@oracle.com>2007-10-22 15:20:03 -0400
commitd6ec084200c37683278c821338f74ddf21ab80f5 (patch)
tree931a112061e3a861768384b8b6ea20fdd35bd41b /lib/Kconfig.debug
parent18dabf473e15850c0dbc8ff13ac1e2806d542c15 (diff)
Add CONFIG_DEBUG_SG sg validation
Add a Kconfig entry which will toggle some sanity checks on the sg entry and tables. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index c567f219191d..1faa5087dc86 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -389,6 +389,16 @@ config DEBUG_LIST
389 389
390 If unsure, say N. 390 If unsure, say N.
391 391
392config DEBUG_SG
393 bool "Debug SG table operations"
394 depends on DEBUG_KERNEL
395 help
396 Enable this to turn on checks on scatter-gather tables. This can
397 help find problems with drivers that do not properly initialize
398 their sg tables.
399
400 If unsure, say N.
401
392config FRAME_POINTER 402config FRAME_POINTER
393 bool "Compile the kernel with frame pointers" 403 bool "Compile the kernel with frame pointers"
394 depends on DEBUG_KERNEL && (X86 || CRIS || M68K || M68KNOMMU || FRV || UML || S390 || AVR32 || SUPERH || BFIN) 404 depends on DEBUG_KERNEL && (X86 || CRIS || M68K || M68KNOMMU || FRV || UML || S390 || AVR32 || SUPERH || BFIN)