[MIPS] Oprofile: Support for 34K UP kernels.
authorRalf Baechle <ralf@linux-mips.org>
Wed, 1 Feb 2006 17:54:30 +0000 (17:54 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 7 Feb 2006 13:30:26 +0000 (13:30 +0000)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/oprofile/common.c
arch/mips/oprofile/op_model_mipsxx.c

index 65de5e3d5a7b3d17f2ab3a678569ca177e5f5870..935dd851f480c0065c37d4275c71f40b663aab5b 100644 (file)
@@ -79,6 +79,7 @@ int __init oprofile_arch_init(struct oprofile_operations *ops)
        case CPU_20KC:
        case CPU_24K:
        case CPU_25KF:
+       case CPU_34K:
        case CPU_SB1:
        case CPU_SB1A:
                lmodel = &op_model_mipsxx;
index dd6d189dccf8286d8a047e528505094ab0bcb8c6..95d488ca075473be4d4e0a3e0d032a0c413eaf27 100644 (file)
@@ -201,6 +201,12 @@ static int __init mipsxx_init(void)
                op_model_mipsxx.cpu_type = "mips/25K";
                break;
 
+#ifndef CONFIG_SMP
+       case CPU_34K:
+               op_model_mipsxx.cpu_type = "mips/34K";
+               break;
+#endif
+
        case CPU_5KC:
                op_model_mipsxx.cpu_type = "mips/5K";
                break;