X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=arch%2Fmips%2Foprofile%2Fop_model_mipsxx.c;h=28ea1a4cc576c0bb8e566a63a7d4d0caf9221692;hb=d37e44969e60dc652fdbaf4397d5436e07c967af;hp=4d80a856048d19261e3af077ff1ff5344b3b26d2;hpb=73bcc49959e4e40911dd0dd634bf1b353827df66;p=~andy%2Flinux diff --git a/arch/mips/oprofile/op_model_mipsxx.c b/arch/mips/oprofile/op_model_mipsxx.c index 4d80a856048..28ea1a4cc57 100644 --- a/arch/mips/oprofile/op_model_mipsxx.c +++ b/arch/mips/oprofile/op_model_mipsxx.c @@ -339,12 +339,6 @@ static int __init mipsxx_init(void) break; case CPU_1004K: -#if 0 - /* FIXME: report as 34K for now */ - op_model_mipsxx_ops.cpu_type = "mips/1004K"; - break; -#endif - case CPU_34K: op_model_mipsxx_ops.cpu_type = "mips/34K"; break; @@ -374,6 +368,10 @@ static int __init mipsxx_init(void) op_model_mipsxx_ops.cpu_type = "mips/sb1"; break; + case CPU_LOONGSON1: + op_model_mipsxx_ops.cpu_type = "mips/loongson1"; + break; + default: printk(KERN_ERR "Profiling unsupported for this CPU\n");