aboutsummaryrefslogtreecommitdiffstats
path: root/init
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 /init
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 'init')
-rw-r--r--init/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig
index ada48441aff..7331a16dd82 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -946,6 +946,11 @@ config PERF_USE_VMALLOC
946 help 946 help
947 See tools/perf/design.txt for details 947 See tools/perf/design.txt for details
948 948
949config PERF_EVENTS_NMI
950 bool
951 help
952 Arch has support for nmi_watchdog
953
949menu "Kernel Performance Events And Counters" 954menu "Kernel Performance Events And Counters"
950 955
951config PERF_EVENTS 956config PERF_EVENTS