aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2010-02-25 17:09:22 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-02-25 17:09:22 -0500
commitbc85e585c6d0fab4bde12d60964b2f25802c3163 (patch)
tree80f5fe916e3458d0676e595e3433a0313e7ba72b /arch/arm/Kconfig
parent186f93ea1f274f4cde4a356401c1786c818ff881 (diff)
parent796d12959ad374cae8eb77faaf4243455a305433 (diff)
Merge branch 'perf' into devel
Conflicts: arch/arm/Kconfig
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 7afc6150ac71..100b90f3778a 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -20,6 +20,8 @@ config ARM
20 select HAVE_GENERIC_DMA_COHERENT 20 select HAVE_GENERIC_DMA_COHERENT
21 select HAVE_KERNEL_GZIP 21 select HAVE_KERNEL_GZIP
22 select HAVE_KERNEL_LZO 22 select HAVE_KERNEL_LZO
23 select HAVE_PERF_EVENTS
24 select PERF_USE_VMALLOC
23 help 25 help
24 The ARM series is a line of low-power-consumption RISC chip designs 26 The ARM series is a line of low-power-consumption RISC chip designs
25 licensed by ARM Ltd and targeted at embedded applications and 27 licensed by ARM Ltd and targeted at embedded applications and
@@ -877,6 +879,11 @@ config XSCALE_PMU
877 depends on CPU_XSCALE && !XSCALE_PMU_TIMER 879 depends on CPU_XSCALE && !XSCALE_PMU_TIMER
878 default y 880 default y
879 881
882config CPU_HAS_PMU
883 depends on CPU_V6 || CPU_V7 || XSCALE_PMU
884 default y
885 bool
886
880if !MMU 887if !MMU
881source "arch/arm/Kconfig-nommu" 888source "arch/arm/Kconfig-nommu"
882endif 889endif
@@ -1181,6 +1188,14 @@ config HIGHPTE
1181 depends on HIGHMEM 1188 depends on HIGHMEM
1182 depends on !OUTER_CACHE 1189 depends on !OUTER_CACHE
1183 1190
1191config HW_PERF_EVENTS
1192 bool "Enable hardware performance counter support for perf events"
1193 depends on PERF_EVENTS && CPU_HAS_PMU && (CPU_V6 || CPU_V7)
1194 default y
1195 help
1196 Enable hardware performance counter support for perf events. If
1197 disabled, perf events will use software events only.
1198
1184source "mm/Kconfig" 1199source "mm/Kconfig"
1185 1200
1186config LEDS 1201config LEDS