Explorar o código

[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>

Nigel Stephens %!s(int64=19) %!d(string=hai) anos
pai
achega
98a41de99a
Modificáronse 2 ficheiros con 2 adicións e 0 borrados
  1. 1 0
      arch/mips/kernel/traps.c
  2. 1 0
      arch/mips/mm/c-r4k.c

+ 1 - 0
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();

+ 1 - 0
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)