soc: fsl: qe: move calls of qe_ic_init out of arch/powerpc/
[linux-2.6-microblaze.git] / lib / Kconfig.debug
index 4c84878..d1842fe 100644 (file)
@@ -128,8 +128,8 @@ config DYNAMIC_DEBUG
          lineno : line number of the debug statement
          module : module that contains the debug statement
          function : function that contains the debug statement
-          flags : '=p' means the line is turned 'on' for printing
-          format : the format used for the debug statement
+         flags : '=p' means the line is turned 'on' for printing
+         format : the format used for the debug statement
 
          From a live system:
 
@@ -173,6 +173,15 @@ config SYMBOLIC_ERRNAME
          of the number 28. It makes the kernel image slightly larger
          (about 3KB), but can make the kernel logs easier to read.
 
+config DEBUG_BUGVERBOSE
+       bool "Verbose BUG() reporting (adds 70K)" if DEBUG_KERNEL && EXPERT
+       depends on BUG && (GENERIC_BUG || HAVE_DEBUG_BUGVERBOSE)
+       default y
+       help
+         Say Y here to make BUG() panics output the file name and line number
+         of the BUG call as well as the EIP and oops trace.  This aids
+         debugging but costs about 70-100K of memory.
+
 endmenu # "printk and dmesg options"
 
 menu "Compile-time checks and compiler options"
@@ -181,7 +190,7 @@ config DEBUG_INFO
        bool "Compile the kernel with debug info"
        depends on DEBUG_KERNEL && !COMPILE_TEST
        help
-          If you say Y here the resulting kernel image will include
+         If you say Y here the resulting kernel image will include
          debugging info resulting in a larger kernel image.
          This adds debug symbols to the kernel and modules (gcc -g), and
          is needed if you intend to use kernel crashdump or binary object
@@ -278,25 +287,13 @@ config STRIP_ASM_SYMS
          get_wchan() and suchlike.
 
 config READABLE_ASM
-        bool "Generate readable assembler code"
-        depends on DEBUG_KERNEL
-        help
-          Disable some compiler optimizations that tend to generate human unreadable
-          assembler output. This may make the kernel slightly slower, but it helps
-          to keep kernel developers who have to stare a lot at assembler listings
-          sane.
-
-config DEBUG_FS
-       bool "Debug Filesystem"
+       bool "Generate readable assembler code"
+       depends on DEBUG_KERNEL
        help
-         debugfs is a virtual file system that kernel developers use to put
-         debugging files into.  Enable this option to be able to read and
-         write to these files.
-
-         For detailed documentation on the debugfs API, see
-         Documentation/filesystems/.
-
-         If unsure, say N.
+         Disable some compiler optimizations that tend to generate human unreadable
+         assembler output. This may make the kernel slightly slower, but it helps
+         to keep kernel developers who have to stare a lot at assembler listings
+         sane.
 
 config HEADERS_INSTALL
        bool "Install uapi headers to usr/include"
@@ -434,6 +431,18 @@ config MAGIC_SYSRQ_SERIAL
          This option allows you to decide whether you want to enable the
          magic SysRq key.
 
+config DEBUG_FS
+       bool "Debug Filesystem"
+       help
+         debugfs is a virtual file system that kernel developers use to put
+         debugging files into.  Enable this option to be able to read and
+         write to these files.
+
+         For detailed documentation on the debugfs API, see
+         Documentation/filesystems/.
+
+         If unsure, say N.
+
 source "lib/Kconfig.kgdb"
 
 source "lib/Kconfig.ubsan"
@@ -514,11 +523,11 @@ config DEBUG_OBJECTS_PERCPU_COUNTER
 
 config DEBUG_OBJECTS_ENABLE_DEFAULT
        int "debug_objects bootup default value (0-1)"
-        range 0 1
-        default "1"
-        depends on DEBUG_OBJECTS
-        help
-          Debug objects boot parameter default value
+       range 0 1
+       default "1"
+       depends on DEBUG_OBJECTS
+       help
+         Debug objects boot parameter default value
 
 config DEBUG_SLAB
        bool "Debug slab memory allocations"
@@ -632,12 +641,24 @@ config DEBUG_STACK_USAGE
 
          This option will slow down process creation somewhat.
 
+config SCHED_STACK_END_CHECK
+       bool "Detect stack corruption on calls to schedule()"
+       depends on DEBUG_KERNEL
+       default n
+       help
+         This option checks for a stack overrun on calls to schedule().
+         If the stack end location is found to be over written always panic as
+         the content of the corrupted region can no longer be trusted.
+         This is to ensure no erroneous behaviour occurs which could result in
+         data corruption or a sporadic crash at a later stage once the region
+         is examined. The runtime overhead introduced is minimal.
+
 config DEBUG_VM
        bool "Debug VM"
        depends on DEBUG_KERNEL
        help
          Enable this to turn on extended checks in the virtual-memory system
-          that may impact performance.
+         that may impact performance.
 
          If unsure, say N.
 
@@ -959,6 +980,8 @@ config WQ_WATCHDOG
 
 endmenu # "Debug lockups and hangs"
 
+menu "Scheduler Debugging"
+
 config SCHED_DEBUG
        bool "Collect scheduler debugging info"
        depends on DEBUG_KERNEL && PROC_FS
@@ -985,17 +1008,7 @@ config SCHEDSTATS
          application, you can say N to avoid the very slight overhead
          this adds.
 
-config SCHED_STACK_END_CHECK
-       bool "Detect stack corruption on calls to schedule()"
-       depends on DEBUG_KERNEL
-       default n
-       help
-         This option checks for a stack overrun on calls to schedule().
-         If the stack end location is found to be over written always panic as
-         the content of the corrupted region can no longer be trusted.
-         This is to ensure no erroneous behaviour occurs which could result in
-         data corruption or a sporadic crash at a later stage once the region
-         is examined. The runtime overhead introduced is minimal.
+endmenu
 
 config DEBUG_TIMEKEEPING
        bool "Enable extra timekeeping sanity checking"
@@ -1299,15 +1312,6 @@ config DEBUG_KOBJECT_RELEASE
 config HAVE_DEBUG_BUGVERBOSE
        bool
 
-config DEBUG_BUGVERBOSE
-       bool "Verbose BUG() reporting (adds 70K)" if DEBUG_KERNEL && EXPERT
-       depends on BUG && (GENERIC_BUG || HAVE_DEBUG_BUGVERBOSE)
-       default y
-       help
-         Say Y here to make BUG() panics output the file name and line number
-         of the BUG call as well as the EIP and oops trace.  This aids
-         debugging but costs about 70-100K of memory.
-
 menu "Debug kernel data structures"
 
 config DEBUG_LIST
@@ -1394,7 +1398,7 @@ config DEBUG_WQ_FORCE_RR_CPU
          be impacted.
 
 config DEBUG_BLOCK_EXT_DEVT
-        bool "Force extended block device numbers and spread them"
+       bool "Force extended block device numbers and spread them"
        depends on DEBUG_KERNEL
        depends on BLOCK
        default n