summaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
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 09:19:43 +0100
commitc3128fb6ad39b0edda6675d20585a64846cf89ea (patch)
tree6737f0d375f6a313411dfefbe9405550642a147d /arch/x86/Kconfig
parent8e7672cdb413af859086ffceaed68f7e1e8ea4c2 (diff)
downloadlinux-c3128fb6ad39b0edda6675d20585a64846cf89ea.tar.gz
linux-c3128fb6ad39b0edda6675d20585a64846cf89ea.tar.bz2
linux-c3128fb6ad39b0edda6675d20585a64846cf89ea.zip
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 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index cbcbfdee3ee0..4f9685fa3a3a 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -52,6 +52,7 @@ config X86
select HAVE_KERNEL_LZO
select HAVE_HW_BREAKPOINT
select PERF_EVENTS
+ select PERF_EVENTS_NMI
select ANON_INODES
select HAVE_ARCH_KMEMCHECK
select HAVE_USER_RETURN_NOTIFIER