MIPS: Oprofile: Add 5K, 20K and 25K support.
[linux-2.6.git] / arch / mips / oprofile / op_model_mipsxx.c
index d97bbff..1d1eee4 100644 (file)
@@ -189,10 +189,22 @@ static int __init mipsxx_init(void)
 
        op_model_mipsxx.num_counters = counters;
        switch (current_cpu_data.cputype) {
+       case CPU_20KC:
+               op_model_mipsxx.cpu_type = "mips/20K";
+               break;
+
        case CPU_24K:
                op_model_mipsxx.cpu_type = "mips/24K";
                break;
 
+       case CPU_25KF:
+               op_model_mipsxx.cpu_type = "mips/25K";
+               break;
+
+       case CPU_5KC:
+               op_model_mipsxx.cpu_type = "mips/5K";
+               break;
+
        default:
                printk(KERN_ERR "Profiling unsupported for this CPU\n");