aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/oprofile/op_model_mipsxx.c
diff options
context:
space:
mode:
authorMark Mason <mason@broadcom.com>2006-01-17 12:06:32 -0800
committerRalf Baechle <ralf@linux-mips.org>2006-02-07 13:30:22 +0000
commitc03bc121212ecb36120b118a94c1b91a2e07b7b2 (patch)
treef75749e5c04e01dbc5e7e56e6c5a4d36f718a6be /arch/mips/oprofile/op_model_mipsxx.c
parent4c91cc57bc9cfd337804d70bc9bff6a012aa8b83 (diff)
[MIPS] SB1: Add oprofile support.
Signed-off-by: Mark Mason <mason@broadcom.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/oprofile/op_model_mipsxx.c')
-rw-r--r--arch/mips/oprofile/op_model_mipsxx.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/oprofile/op_model_mipsxx.c b/arch/mips/oprofile/op_model_mipsxx.c
index 1d1eee407fa..dd6d189dccf 100644
--- a/arch/mips/oprofile/op_model_mipsxx.c
+++ b/arch/mips/oprofile/op_model_mipsxx.c
@@ -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");