summaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
authorAl Cooper2012-07-13 22:44:53 +0200
committerRalf Baechle2012-10-11 11:04:34 +0200
commit399aaa2568ad90e229d73da8e95ae460d322a4f3 (patch)
treeaf20b0314130f873bb733f8b7b195b078118a3bf /arch/mips/Kconfig
parentMIPS: perf: Remove unnecessary #ifdef (diff)
downloadkernel-qcow2-linux-399aaa2568ad90e229d73da8e95ae460d322a4f3.tar.gz
kernel-qcow2-linux-399aaa2568ad90e229d73da8e95ae460d322a4f3.tar.xz
kernel-qcow2-linux-399aaa2568ad90e229d73da8e95ae460d322a4f3.zip
MIPS: perf: Split the Kconfig option CONFIG_MIPS_MT_SMP
Split the Kconfig option CONFIG_MIPS_MT_SMP into CONFIG_MIPS_MT_SMP and CONFIG_MIPS_PERF_SHARED_TC_COUNTERS so some of the code used for performance counters that are shared between threads can be used for MIPS cores that are not MT_SMP. Signed-off-by: Al Cooper <alcooperx@gmail.com> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/4108/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r--arch/mips/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 35453eaeffb5..2c580cf59397 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -1928,6 +1928,7 @@ config MIPS_MT_SMP
select SYS_SUPPORTS_SCHED_SMT if SMP
select SYS_SUPPORTS_SMP
select SMP_UP
+ select MIPS_PERF_SHARED_TC_COUNTERS
help
This is a kernel model which is known a VSMP but lately has been
marketesed into SMVP.
@@ -2277,6 +2278,9 @@ config NR_CPUS
performance should round up your number of processors to the next
power of two.
+config MIPS_PERF_SHARED_TC_COUNTERS
+ bool
+
#
# Timer Interrupt Frequency Configuration
#