]> err.no Git - linux-2.6/commitdiff
[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 55feaf798596fa1e0119f52bcd5f9831506fbb6e..ca395ef06d4e9514b82b4fdd41493199d7d1392f 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,