mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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 <[email protected]>
This commit is contained in:
parent
18dabf473e
commit
d6ec084200
25 changed files with 101 additions and 0 deletions
|
|
@ -389,6 +389,16 @@ config DEBUG_LIST
|
|||
|
||||
If unsure, say N.
|
||||
|
||||
config DEBUG_SG
|
||||
bool "Debug SG table operations"
|
||||
depends on DEBUG_KERNEL
|
||||
help
|
||||
Enable this to turn on checks on scatter-gather tables. This can
|
||||
help find problems with drivers that do not properly initialize
|
||||
their sg tables.
|
||||
|
||||
If unsure, say N.
|
||||
|
||||
config FRAME_POINTER
|
||||
bool "Compile the kernel with frame pointers"
|
||||
depends on DEBUG_KERNEL && (X86 || CRIS || M68K || M68KNOMMU || FRV || UML || S390 || AVR32 || SUPERH || BFIN)
|
||||
|
|
|
|||
Loading…
Reference in a new issue