summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorNigel Stephens <nigel@mips.com>2006-04-27 15:50:32 +0100
committerRalf Baechle <ralf@linux-mips.org>2006-06-01 00:28:30 +0100
commit98a41de99a4e4febe99b22c3a28d434caeb3165c (patch)
tree6fed878cc364d268f4e598520d36a3c467695d35 /arch
parent6e9538917c5f62c1a1598da9b898702800801b98 (diff)
downloadop-kernel-dev-98a41de99a4e4febe99b22c3a28d434caeb3165c.zip
op-kernel-dev-98a41de99a4e4febe99b22c3a28d434caeb3165c.tar.gz
[MIPS] Add missing 34K processor IDs
The 34K is very much like a 24K on steroids. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/kernel/traps.c1
-rw-r--r--arch/mips/mm/c-r4k.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c
index 4901f0a..35cb08d 100644
--- a/arch/mips/kernel/traps.c
+++ b/arch/mips/kernel/traps.c
@@ -902,6 +902,7 @@ static inline void parity_protection_init(void)
{
switch (current_cpu_data.cputype) {
case CPU_24K:
+ case CPU_34K:
case CPU_5KC:
write_c0_ecc(0x80000000);
back_to_back_c0_hazard();
diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c
index 4182e11..4420191 100644
--- a/arch/mips/mm/c-r4k.c
+++ b/arch/mips/mm/c-r4k.c
@@ -968,6 +968,7 @@ static void __init probe_pcache(void)
case CPU_SB1:
break;
case CPU_24K:
+ case CPU_34K:
if (!(read_c0_config7() & (1 << 16)))
default:
if (c->dcache.waysize > PAGE_SIZE)
OpenPOWER on IntegriCloud