[MIPS] Do not allow oprofile to be enabled on SMTC.
authorRalf Baechle <ralf@linux-mips.org>
Fri, 2 Feb 2007 11:13:35 +0000 (11:13 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 6 Feb 2007 16:53:17 +0000 (16:53 +0000)
Oprofile cannot work on SMTC due to the limited number of counters.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/oprofile/Kconfig

index 55feaf7..ca395ef 100644 (file)
@@ -11,7 +11,7 @@ config PROFILING
 
 config OPROFILE
        tristate "OProfile system profiling (EXPERIMENTAL)"
-       depends on PROFILING && EXPERIMENTAL
+       depends on PROFILING && !!MIPS_MT_SMTC && EXPERIMENTAL
        help
          OProfile is a profiling system capable of profiling the
          whole system, include the kernel, kernel modules, libraries,