projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53c1b19
)
[MIPS] Oprofile: Fix MIPSxx counter number detection.
author
Ralf Baechle
<ralf@linux-mips.org>
Mon, 23 Oct 2006 22:21:21 +0000
(23:21 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Mon, 30 Oct 2006 21:41:27 +0000
(21:41 +0000)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/oprofile/op_model_mipsxx.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/oprofile/op_model_mipsxx.c
b/arch/mips/oprofile/op_model_mipsxx.c
index ebce715f076dc00b98db2132195c1f8f1c8e06bf..1fb240c57bac356463346f45b5971fd7826b09ab 100644
(file)
--- a/
arch/mips/oprofile/op_model_mipsxx.c
+++ b/
arch/mips/oprofile/op_model_mipsxx.c
@@
-220,7
+220,7
@@
static inline int n_counters(void)
{
int counters = __n_counters();
-#if
ndef CONFIG
_SMP
+#if
def CONFIG_MIPS_MT
_SMP
if (current_cpu_data.cputype == CPU_34K)
return counters >> 1;
#endif