Commit fcfd980c authored by Ralf Baechle's avatar Ralf Baechle

[MIPS] Oprofile: Support for 34K UP kernels.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent d1e30a63
...@@ -79,6 +79,7 @@ int __init oprofile_arch_init(struct oprofile_operations *ops) ...@@ -79,6 +79,7 @@ int __init oprofile_arch_init(struct oprofile_operations *ops)
case CPU_20KC: case CPU_20KC:
case CPU_24K: case CPU_24K:
case CPU_25KF: case CPU_25KF:
case CPU_34K:
case CPU_SB1: case CPU_SB1:
case CPU_SB1A: case CPU_SB1A:
lmodel = &op_model_mipsxx; lmodel = &op_model_mipsxx;
......
...@@ -201,6 +201,12 @@ static int __init mipsxx_init(void) ...@@ -201,6 +201,12 @@ static int __init mipsxx_init(void)
op_model_mipsxx.cpu_type = "mips/25K"; op_model_mipsxx.cpu_type = "mips/25K";
break; break;
#ifndef CONFIG_SMP
case CPU_34K:
op_model_mipsxx.cpu_type = "mips/34K";
break;
#endif
case CPU_5KC: case CPU_5KC:
op_model_mipsxx.cpu_type = "mips/5K"; op_model_mipsxx.cpu_type = "mips/5K";
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment