[MIPS] Oprofile: Add missing break statements.

This was causing oprofile to fail on R10000, R12000, R14000.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
Ralf Baechle 2007-02-28 15:34:22 +00:00
parent 69f2827657
commit 148171b2ac
1 changed files with 2 additions and 0 deletions

View File

@ -223,10 +223,12 @@ static inline int n_counters(void)
switch (current_cpu_data.cputype) { switch (current_cpu_data.cputype) {
case CPU_R10000: case CPU_R10000:
counters = 2; counters = 2;
break;
case CPU_R12000: case CPU_R12000:
case CPU_R14000: case CPU_R14000:
counters = 4; counters = 4;
break;
default: default:
counters = __n_counters(); counters = __n_counters();