summaryrefslogtreecommitdiffstats
path: root/arch/mips/oprofile/op_model_mipsxx.c
diff options
context:
space:
mode:
authorSteven J. Hill <sjhill@mips.com>2012-07-06 23:56:00 +0200
committerRalf Baechle <ralf@linux-mips.org>2012-07-06 23:56:00 +0200
commit113c62d9844d9037508fa156e47db1b5407a27c3 (patch)
treeb56e01001144f8a0dfb69ae628a70cc6c58e72ce /arch/mips/oprofile/op_model_mipsxx.c
parent839efb4ffbfba74857e3411413f7ca53c8ff1925 (diff)
downloadtalos-op-linux-113c62d9844d9037508fa156e47db1b5407a27c3.tar.gz
talos-op-linux-113c62d9844d9037508fa156e47db1b5407a27c3.zip
MIPS: Add support for the M14Kc core.
[ralf@linux-mips.org: Fixed whitespace damage.] Signed-off-by: Steven J. Hill <sjhill@mips.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/3773/ 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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/oprofile/op_model_mipsxx.c b/arch/mips/oprofile/op_model_mipsxx.c
index baba3bcaa3c2..4d80a856048d 100644
--- a/arch/mips/oprofile/op_model_mipsxx.c
+++ b/arch/mips/oprofile/op_model_mipsxx.c
@@ -322,6 +322,10 @@ static int __init mipsxx_init(void)
op_model_mipsxx_ops.num_counters = counters;
switch (current_cpu_type()) {
+ case CPU_M14KC:
+ op_model_mipsxx_ops.cpu_type = "mips/M14Kc";
+ break;
+
case CPU_20KC:
op_model_mipsxx_ops.cpu_type = "mips/20K";
break;
OpenPOWER on IntegriCloud