[MIPS] Add missing 34K processor IDs
authorNigel Stephens <nigel@mips.com>
Thu, 27 Apr 2006 14:50:32 +0000 (15:50 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 31 May 2006 23:28:30 +0000 (00:28 +0100)
The 34K is very much like a 24K on steroids.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/traps.c
arch/mips/mm/c-r4k.c

index 4901f0a37fca2b3ddb2de93dcf998873b10e6643..35cb08da3820ff729e4fa6071a5032352090b5db 100644 (file)
@@ -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();
index 4182e1176faeaeb1181af9fe7d12094b42db1fc4..4420191795f39f3fbe3a77015be8b63ed9fa39fe 100644 (file)
@@ -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)