aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
authorDon Zickus <dzickus@redhat.com>2010-02-12 17:19:18 -0500
committerIngo Molnar <mingo@elte.hu>2010-02-14 03:19:43 -0500
commitc3128fb6ad39b0edda6675d20585a64846cf89ea (patch)
tree6737f0d375f6a313411dfefbe9405550642a147d /lib/Kconfig.debug
parent8e7672cdb413af859086ffceaed68f7e1e8ea4c2 (diff)
nmi_watchdog: Use a boolean config flag for compiling
Determines if an arch has setup arch specific perf_events and nmi_watchdog code. This should restrict compiles to only those arches ready. Signed-off-by: Don Zickus <dzickus@redhat.com> Cc: peterz@infradead.org Cc: gorcunov@gmail.com Cc: aris@redhat.com LKML-Reference: <1266013161-31197-1-git-send-email-dzickus@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r--lib/Kconfig.debug3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index acef88239e15..01a4d85ee746 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -172,8 +172,7 @@ config DETECT_SOFTLOCKUP
172 172
173config NMI_WATCHDOG 173config NMI_WATCHDOG
174 bool "Detect Hard Lockups with an NMI Watchdog" 174 bool "Detect Hard Lockups with an NMI Watchdog"
175 depends on DEBUG_KERNEL && PERF_EVENTS 175 depends on DEBUG_KERNEL && PERF_EVENTS && PERF_EVENTS_NMI
176 depends on X86
177 default y 176 default y
178 help 177 help
179 Say Y here to enable the kernel to use the NMI as a watchdog 178 Say Y here to enable the kernel to use the NMI as a watchdog