x86: Compile insn.c and inat.c only for KPROBES
[pandora-kernel.git] / arch / x86 / Kconfig.debug
index 7d0b681..0e90929 100644 (file)
@@ -187,8 +187,8 @@ config HAVE_MMIOTRACE_SUPPORT
        def_bool y
 
 config X86_DECODER_SELFTEST
-     bool "x86 instruction decoder selftest"
-     depends on DEBUG_KERNEL
+       bool "x86 instruction decoder selftest"
+       depends on DEBUG_KERNEL && KPROBES
        ---help---
         Perform x86 instruction decoder selftests at build time.
         This option is useful for checking the sanity of x86 instruction