diff options
author | Steven J. Hill <sjhill@mips.com> | 2012-12-06 22:51:35 -0500 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-02-16 18:15:23 -0500 |
commit | f8fa4811dbb264aef13f982e963389fd828b1ac0 (patch) | |
tree | ed1c9d2d9818671ca78feab63872d10b611ab953 /arch/mips/oprofile | |
parent | 127993e561846e889004d7d21a84fb5a6c40b9c3 (diff) |
MIPS: Add support for the M14KEc core.
Signed-off-by: Steven J. Hill <sjhill@mips.com>
Patchwork: http://patchwork.linux-mips.org/patch/4682/
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'arch/mips/oprofile')
-rw-r--r-- | arch/mips/oprofile/common.c | 1 | ||||
-rw-r--r-- | arch/mips/oprofile/op_model_mipsxx.c | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/oprofile/common.c b/arch/mips/oprofile/common.c index e32db1ff02c7..fc41aa997f1a 100644 --- a/arch/mips/oprofile/common.c +++ b/arch/mips/oprofile/common.c | |||
@@ -78,6 +78,7 @@ int __init oprofile_arch_init(struct oprofile_operations *ops) | |||
78 | switch (current_cpu_type()) { | 78 | switch (current_cpu_type()) { |
79 | case CPU_5KC: | 79 | case CPU_5KC: |
80 | case CPU_M14KC: | 80 | case CPU_M14KC: |
81 | case CPU_M14KEC: | ||
81 | case CPU_20KC: | 82 | case CPU_20KC: |
82 | case CPU_24K: | 83 | case CPU_24K: |
83 | case CPU_25KF: | 84 | case CPU_25KF: |
diff --git a/arch/mips/oprofile/op_model_mipsxx.c b/arch/mips/oprofile/op_model_mipsxx.c index 786254630403..18c3afefa67d 100644 --- a/arch/mips/oprofile/op_model_mipsxx.c +++ b/arch/mips/oprofile/op_model_mipsxx.c | |||
@@ -351,6 +351,10 @@ static int __init mipsxx_init(void) | |||
351 | op_model_mipsxx_ops.cpu_type = "mips/M14Kc"; | 351 | op_model_mipsxx_ops.cpu_type = "mips/M14Kc"; |
352 | break; | 352 | break; |
353 | 353 | ||
354 | case CPU_M14KEC: | ||
355 | op_model_mipsxx_ops.cpu_type = "mips/M14KEc"; | ||
356 | break; | ||
357 | |||
354 | case CPU_20KC: | 358 | case CPU_20KC: |
355 | op_model_mipsxx_ops.cpu_type = "mips/20K"; | 359 | op_model_mipsxx_ops.cpu_type = "mips/20K"; |
356 | break; | 360 | break; |