summaryrefslogtreecommitdiff
path: root/arch/tile/Kconfig
diff options
context:
space:
mode:
authorZhigang Lu <zlu@tilera.com>2014-01-27 11:11:07 +0400
committerChris Metcalf <cmetcalf@tilera.com>2014-03-07 20:19:47 +0400
commit8e3441ebab48c3537b1a9ae06fb7616a3332bd35 (patch)
tree6b2a748d7952827e121dd78aa0f4c6dcb449dfb9 /arch/tile/Kconfig
parent2e285458e62fe202cb81b831f41779c7e7e5cbe6 (diff)
downloadlinux-8e3441ebab48c3537b1a9ae06fb7616a3332bd35.tar.xz
tile: Add support for handling PMC hardware
The PMC module is used by perf_events, oprofile and watchdogs. Signed-off-by: Zhigang Lu <zlu@tilera.com> Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/Kconfig')
-rw-r--r--arch/tile/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/tile/Kconfig b/arch/tile/Kconfig
index b3692ce78f90..3067b15e80d6 100644
--- a/arch/tile/Kconfig
+++ b/arch/tile/Kconfig
@@ -66,6 +66,10 @@ config HUGETLB_SUPER_PAGES
config GENERIC_TIME_VSYSCALL
def_bool y
+# Enable PMC if PERF_EVENTS, OPROFILE, or WATCHPOINTS are enabled.
+config USE_PMC
+ bool
+
# FIXME: tilegx can implement a more efficient rwsem.
config RWSEM_GENERIC_SPINLOCK
def_bool y