summaryrefslogtreecommitdiffstats
path: root/arch/mips/oprofile/common.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-12-09 13:42:13 +0100
committer <ralf@denk.linux-mips.net>2006-01-10 14:39:07 +0100
commit2065988e9fb1628de7958b0f7f709b93302f7b97 (patch)
tree2c452d4390601ac0200fed89c22b25a0cbcc9ee8 /arch/mips/oprofile/common.c
parentMIPS: Oprofile: Print error message if the CPU happen to have no counters. (diff)
downloadlinux-2065988e9fb1628de7958b0f7f709b93302f7b97.tar.xz
linux-2065988e9fb1628de7958b0f7f709b93302f7b97.zip
MIPS: Oprofile: Add 5K, 20K and 25K support.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/oprofile/common.c')
-rw-r--r--arch/mips/oprofile/common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/oprofile/common.c b/arch/mips/oprofile/common.c
index dd2cc42f1b6d..53f9889b30ed 100644
--- a/arch/mips/oprofile/common.c
+++ b/arch/mips/oprofile/common.c
@@ -75,7 +75,10 @@ int __init oprofile_arch_init(struct oprofile_operations *ops)
int res;
switch (current_cpu_data.cputype) {
+ case CPU_5KC:
+ case CPU_20KC:
case CPU_24K:
+ case CPU_25KF:
lmodel = &op_model_mipsxx;
break;