projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69f2827
)
[MIPS] Oprofile: Add missing break statements.
author
Ralf Baechle
<ralf@linux-mips.org>
Wed, 28 Feb 2007 15:34:22 +0000
(15:34 +0000)
committer
Ralf Baechle
<ralf@linux-mips.org>
Sun, 4 Mar 2007 19:02:34 +0000
(19:02 +0000)
This was causing oprofile to fail on R10000, R12000, R14000.
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 455d76ad06d83cf1eb3045c3ca6691cb088584c3..9d08608aaa513568a41b94a38c59c0d8e1e752be 100644
(file)
--- a/
arch/mips/oprofile/op_model_mipsxx.c
+++ b/
arch/mips/oprofile/op_model_mipsxx.c
@@
-223,10
+223,12
@@
static inline int n_counters(void)
switch (current_cpu_data.cputype) {
case CPU_R10000:
counters = 2;
+ break;
case CPU_R12000:
case CPU_R14000:
counters = 4;
+ break;
default:
counters = __n_counters();