aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
authorAl Cooper <alcooperx@gmail.com>2012-07-13 16:44:53 -0400
committerRalf Baechle <ralf@linux-mips.org>2012-10-11 05:04:34 -0400
commit399aaa2568ad90e229d73da8e95ae460d322a4f3 (patch)
treeaf20b0314130f873bb733f8b7b195b078118a3bf /arch/mips/Kconfig
parentecb8ee8a8987368491bd0dab34353c724654ec55 (diff)
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
1928 select SYS_SUPPORTS_SCHED_SMT if SMP 1928 select SYS_SUPPORTS_SCHED_SMT if SMP
1929 select SYS_SUPPORTS_SMP 1929 select SYS_SUPPORTS_SMP
1930 select SMP_UP 1930 select SMP_UP
1931 select MIPS_PERF_SHARED_TC_COUNTERS
1931 help 1932 help
1932 This is a kernel model which is known a VSMP but lately has been 1933 This is a kernel model which is known a VSMP but lately has been
1933 marketesed into SMVP. 1934 marketesed into SMVP.
@@ -2277,6 +2278,9 @@ config NR_CPUS
2277 performance should round up your number of processors to the next 2278 performance should round up your number of processors to the next
2278 power of two. 2279 power of two.
2279 2280
2281config MIPS_PERF_SHARED_TC_COUNTERS
2282 bool
2283
2280# 2284#
2281# Timer Interrupt Frequency Configuration 2285# Timer Interrupt Frequency Configuration
2282# 2286#