Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=148171b2ac1fb6a1a9f987f8daedc146c810a8ae
Commit:     148171b2ac1fb6a1a9f987f8daedc146c810a8ae
Parent:     69f282765735b1df5e27b373e64e5238caca8c49
Author:     Ralf Baechle <[EMAIL PROTECTED]>
AuthorDate: Wed Feb 28 15:34:22 2007 +0000
Committer:  Ralf Baechle <[EMAIL PROTECTED]>
CommitDate: Sun Mar 4 19:02:34 2007 +0000

    [MIPS] Oprofile: Add missing break statements.
    
    This was causing oprofile to fail on R10000, R12000, R14000.
    
    Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>
---
 arch/mips/oprofile/op_model_mipsxx.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/mips/oprofile/op_model_mipsxx.c 
b/arch/mips/oprofile/op_model_mipsxx.c
index 455d76a..9d08608 100644
--- 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();
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to