diff options
author | Jamie Iles <jamie.iles@picochip.com> | 2010-02-02 14:23:15 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-02-12 12:23:43 -0500 |
commit | 0f4f0672ac950c96cffaf84a666d35e817d7c3ca (patch) | |
tree | cb4c1ec72f7842622c636a76f5ca519f3f3e8ea8 /arch/arm/Kconfig | |
parent | 74d2e4f8d79ae0c4b6ec027958d5b18058662eea (diff) |
ARM: 5899/2: arm: provide a mechanism to reserve performance counters
To add support for perf events and to allow the hardware counters to be
shared with oprofile, we need a way to reserve access to the pmu
(performance monitor unit). Platforms with PMU interrupts should
register the interrupts in arch/arm/kernel/pmu.c
Signed-off-by: Jamie Iles <jamie.iles@picochip.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 233a222752c0..9e08891062bf 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -863,6 +863,11 @@ config XSCALE_PMU | |||
863 | depends on CPU_XSCALE && !XSCALE_PMU_TIMER | 863 | depends on CPU_XSCALE && !XSCALE_PMU_TIMER |
864 | default y | 864 | default y |
865 | 865 | ||
866 | config CPU_HAS_PMU | ||
867 | depends on CPU_V6 || CPU_V7 || XSCALE_PMU | ||
868 | default y | ||
869 | bool | ||
870 | |||
866 | if !MMU | 871 | if !MMU |
867 | source "arch/arm/Kconfig-nommu" | 872 | source "arch/arm/Kconfig-nommu" |
868 | endif | 873 | endif |