summaryrefslogtreecommitdiffstats
path: root/arch/tile/Kconfig
diff options
context:
space:
mode:
authorZhigang Lu2014-01-27 08:11:07 +0100
committerChris Metcalf2014-03-07 17:19:47 +0100
commit8e3441ebab48c3537b1a9ae06fb7616a3332bd35 (patch)
tree6b2a748d7952827e121dd78aa0f4c6dcb449dfb9 /arch/tile/Kconfig
parenttile: don't use __get_cpu_var() with structure-typed arguments (diff)
downloadkernel-qcow2-linux-8e3441ebab48c3537b1a9ae06fb7616a3332bd35.tar.gz
kernel-qcow2-linux-8e3441ebab48c3537b1a9ae06fb7616a3332bd35.tar.xz
kernel-qcow2-linux-8e3441ebab48c3537b1a9ae06fb7616a3332bd35.zip
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