Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 19894
b: refs/heads/master
c: c03bc12
h: refs/heads/master
v: v3
  • Loading branch information
Mark Mason authored and Ralf Baechle committed Feb 7, 2006
1 parent 0a5a823 commit 297cdb4
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4c91cc57bc9cfd337804d70bc9bff6a012aa8b83
refs/heads/master: c03bc121212ecb36120b118a94c1b91a2e07b7b2
1 change: 1 addition & 0 deletions trunk/arch/mips/oprofile/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ oprofile-y := $(DRIVER_OBJS) common.o

oprofile-$(CONFIG_CPU_MIPS32) += op_model_mipsxx.o
oprofile-$(CONFIG_CPU_MIPS64) += op_model_mipsxx.o
oprofile-$(CONFIG_CPU_SB1) += op_model_mipsxx.o
oprofile-$(CONFIG_CPU_RM9000) += op_model_rm9000.o
2 changes: 2 additions & 0 deletions trunk/arch/mips/oprofile/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ int __init oprofile_arch_init(struct oprofile_operations *ops)
case CPU_20KC:
case CPU_24K:
case CPU_25KF:
case CPU_SB1:
case CPU_SB1A:
lmodel = &op_model_mipsxx;
break;

Expand Down
5 changes: 5 additions & 0 deletions trunk/arch/mips/oprofile/op_model_mipsxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,11 @@ static int __init mipsxx_init(void)
op_model_mipsxx.cpu_type = "mips/5K";
break;

case CPU_SB1:
case CPU_SB1A:
op_model_mipsxx.cpu_type = "mips/sb1";
break;

default:
printk(KERN_ERR "Profiling unsupported for this CPU\n");

Expand Down

0 comments on commit 297cdb4

Please sign in to comment.