diff options
Diffstat (limited to 'arch/tile/Kconfig')
-rw-r--r-- | arch/tile/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/tile/Kconfig b/arch/tile/Kconfig index b3692ce78f90..31c8c6223995 100644 --- a/arch/tile/Kconfig +++ b/arch/tile/Kconfig | |||
@@ -3,6 +3,8 @@ | |||
3 | 3 | ||
4 | config TILE | 4 | config TILE |
5 | def_bool y | 5 | def_bool y |
6 | select HAVE_PERF_EVENTS | ||
7 | select USE_PMC if PERF_EVENTS | ||
6 | select HAVE_DMA_ATTRS | 8 | select HAVE_DMA_ATTRS |
7 | select HAVE_DMA_API_DEBUG | 9 | select HAVE_DMA_API_DEBUG |
8 | select HAVE_KVM if !TILEGX | 10 | select HAVE_KVM if !TILEGX |
@@ -66,6 +68,10 @@ config HUGETLB_SUPER_PAGES | |||
66 | config GENERIC_TIME_VSYSCALL | 68 | config GENERIC_TIME_VSYSCALL |
67 | def_bool y | 69 | def_bool y |
68 | 70 | ||
71 | # Enable PMC if PERF_EVENTS, OPROFILE, or WATCHPOINTS are enabled. | ||
72 | config USE_PMC | ||
73 | bool | ||
74 | |||
69 | # FIXME: tilegx can implement a more efficient rwsem. | 75 | # FIXME: tilegx can implement a more efficient rwsem. |
70 | config RWSEM_GENERIC_SPINLOCK | 76 | config RWSEM_GENERIC_SPINLOCK |
71 | def_bool y | 77 | def_bool y |