]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - init/Kconfig
lockup_detector: Adapt CONFIG_PERF_EVENT_NMI to other archs
[net-next-2.6.git] / init / Kconfig
index e44e25422f22d01b774637773c403132d85e0048..ab733c32292cfb72f518e7b984ab2ae085675cd4 100644 (file)
@@ -943,8 +943,7 @@ config PERF_USE_VMALLOC
          See tools/perf/design.txt for details
 
 config PERF_EVENTS_NMI
-       bool
-       depends on PERF_EVENTS
+       def_bool PERF_EVENTS && HAVE_PERF_EVENTS_NMI
        help
          System hardware can generate an NMI using the perf event
          subsystem.  Also has support for calculating CPU cycle events