diff options
Diffstat (limited to 'arch/mips/oprofile/op_model_mipsxx.c')
-rw-r--r-- | arch/mips/oprofile/op_model_mipsxx.c | 5 |
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 d6b9e69e7c69..6a6e2cc55b89 100644 --- a/arch/mips/oprofile/op_model_mipsxx.c +++ b/arch/mips/oprofile/op_model_mipsxx.c | |||
@@ -296,6 +296,7 @@ static inline int n_counters(void) | |||
296 | 296 | ||
297 | case CPU_R12000: | 297 | case CPU_R12000: |
298 | case CPU_R14000: | 298 | case CPU_R14000: |
299 | case CPU_R16000: | ||
299 | counters = 4; | 300 | counters = 4; |
300 | break; | 301 | break; |
301 | 302 | ||
@@ -411,6 +412,10 @@ static int __init mipsxx_init(void) | |||
411 | op_model_mipsxx_ops.cpu_type = "mips/r12000"; | 412 | op_model_mipsxx_ops.cpu_type = "mips/r12000"; |
412 | break; | 413 | break; |
413 | 414 | ||
415 | case CPU_R16000: | ||
416 | op_model_mipsxx_ops.cpu_type = "mips/r16000"; | ||
417 | break; | ||
418 | |||
414 | case CPU_SB1: | 419 | case CPU_SB1: |
415 | case CPU_SB1A: | 420 | case CPU_SB1A: |
416 | op_model_mipsxx_ops.cpu_type = "mips/sb1"; | 421 | op_model_mipsxx_ops.cpu_type = "mips/sb1"; |