Pull sbs into release branch
[sfrench/cifs-2.6.git] / arch / mips / Kconfig.debug
index 9351f1c04a9d7144d0a024a86887d46ffea87d08..3efe117721aad002edba89fa9be77e25c4230e4d 100644 (file)
@@ -37,9 +37,18 @@ config DEBUG_STACK_USAGE
 
          This option will slow down process creation somewhat.
 
+config SMTC_IDLE_HOOK_DEBUG
+       bool "Enable additional debug checks before going into CPU idle loop"
+       depends on DEBUG_KERNEL && MIPS_MT_SMTC
+       help
+         This option enables Enable additional debug checks before going into
+         CPU idle loop.  For details on these checks, see
+         arch/mips/kernel/smtc.c.  This debugging option result in significant
+         overhead so should be disabled in production kernels.
+
 config KGDB
        bool "Remote GDB kernel debugging"
-       depends on DEBUG_KERNEL
+       depends on DEBUG_KERNEL && SYS_SUPPORTS_KGDB
        select DEBUG_INFO
        help
          If you say Y here, it will be possible to remotely debug the MIPS
@@ -48,6 +57,9 @@ config KGDB
          better 32 MB RAM to avoid excessive linking time. This is only
          useful for kernel hackers. If unsure, say N.
 
+config SYS_SUPPORTS_KGDB
+       bool
+
 config GDB_CONSOLE
        bool "Console output to GDB"
        depends on KGDB