kprobes: Hide CONFIG_OPTPROBES and set if arch supports optimized kprobes
[linux-2.6-block.git] / arch / Kconfig
index e5eb1337a5377f5b131b2ba70efd8263b8057404..f06010fb48381d7a0ecfdfdc3c9a833a0da5cc0c 100644 (file)
@@ -42,15 +42,10 @@ config KPROBES
          If in doubt, say "N".
 
 config OPTPROBES
-       bool "Kprobes jump optimization support (EXPERIMENTAL)"
-       default y
-       depends on KPROBES
+       def_bool y
+       depends on KPROBES && HAVE_OPTPROBES
        depends on !PREEMPT
-       depends on HAVE_OPTPROBES
        select KALLSYMS_ALL
-       help
-         This option will allow kprobes to optimize breakpoint to
-         a jump for reducing its overhead.
 
 config HAVE_EFFICIENT_UNALIGNED_ACCESS
        bool