MIPS: Oprofile: Add 5K, 20K and 25K support. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

authored by

Ralf Baechle and committed by
2065988e 9efeae9a

+15
+3
arch/mips/oprofile/common.c
··· 75 75 int res; 76 76 77 77 switch (current_cpu_data.cputype) { 78 + case CPU_5KC: 79 + case CPU_20KC: 78 80 case CPU_24K: 81 + case CPU_25KF: 79 82 lmodel = &op_model_mipsxx; 80 83 break; 81 84
+12
arch/mips/oprofile/op_model_mipsxx.c
··· 189 189 190 190 op_model_mipsxx.num_counters = counters; 191 191 switch (current_cpu_data.cputype) { 192 + case CPU_20KC: 193 + op_model_mipsxx.cpu_type = "mips/20K"; 194 + break; 195 + 192 196 case CPU_24K: 193 197 op_model_mipsxx.cpu_type = "mips/24K"; 198 + break; 199 + 200 + case CPU_25KF: 201 + op_model_mipsxx.cpu_type = "mips/25K"; 202 + break; 203 + 204 + case CPU_5KC: 205 + op_model_mipsxx.cpu_type = "mips/5K"; 194 206 break; 195 207 196 208 default: