diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-02-01 17:54:30 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-02-07 13:30:26 +0000 |
commit | fcfd980c833bd5ca1df9ca877b3e968e4da05b24 (patch) | |
tree | ca485cf9452316c160e52c58ef1ba6941b1d3184 | |
parent | d1e30a6347630ca7eeee2f46f826f05bbe80bb25 (diff) | |
download | op-kernel-dev-fcfd980c833bd5ca1df9ca877b3e968e4da05b24.zip op-kernel-dev-fcfd980c833bd5ca1df9ca877b3e968e4da05b24.tar.gz |
[MIPS] Oprofile: Support for 34K UP kernels.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/oprofile/common.c | 1 | ||||
-rw-r--r-- | arch/mips/oprofile/op_model_mipsxx.c | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/arch/mips/oprofile/common.c b/arch/mips/oprofile/common.c index 65de5e3..935dd85 100644 --- a/arch/mips/oprofile/common.c +++ b/arch/mips/oprofile/common.c @@ -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; diff --git a/arch/mips/oprofile/op_model_mipsxx.c b/arch/mips/oprofile/op_model_mipsxx.c index dd6d189..95d488c 100644 --- a/arch/mips/oprofile/op_model_mipsxx.c +++ b/arch/mips/oprofile/op_model_mipsxx.c @@ -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; |