projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89d8ab6
)
[MIPS] Fix oprofile logic to physical counter remapping
author
Ralf Baechle
<ralf@linux-mips.org>
Tue, 24 Apr 2007 20:42:20 +0000
(21:42 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Tue, 24 Apr 2007 21:10:18 +0000
(22:10 +0100)
This did cause oprofile to fail on non-multithreaded systems with more
than 2 processors such as the BCM1480.
Reported by Manish Lachwani (mlachwani@mvista.com).
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/oprofile/op_model_mipsxx.c
patch
|
blob
|
history
diff --git
a/arch/mips/oprofile/op_model_mipsxx.c
b/arch/mips/oprofile/op_model_mipsxx.c
index 69a8bcfe72b2bc37a7fd8d0360fd1d70e1ee22fa..4f94fa261aae37a1fbe64e2000dd9b76a5bf2bec 100644
(file)
--- a/
arch/mips/oprofile/op_model_mipsxx.c
+++ b/
arch/mips/oprofile/op_model_mipsxx.c
@@
-35,7
+35,7
@@
#define vpe_id() smp_processor_id()
#else
#define WHAT 0
-#define vpe_id()
smp_processor_id()
+#define vpe_id()
0
#endif
#define __define_perf_accessors(r, n, np) \