Skip to content

Commit

Permalink
[MIPS] Oprofile: Support for 34K UP kernels.
Browse files Browse the repository at this point in the history
    
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Feb 7, 2006
1 parent d1e30a6 commit fcfd980
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/mips/oprofile/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
6 changes: 6 additions & 0 deletions arch/mips/oprofile/op_model_mipsxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fcfd980

Please sign in to comment.