diff options
| -rw-r--r-- | arch/mips/kernel/traps.c | 1 | ||||
| -rw-r--r-- | arch/mips/mm/c-r4k.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index 4901f0a37fca..35cb08da3820 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c | |||
| @@ -902,6 +902,7 @@ static inline void parity_protection_init(void) | |||
| 902 | { | 902 | { |
| 903 | switch (current_cpu_data.cputype) { | 903 | switch (current_cpu_data.cputype) { |
| 904 | case CPU_24K: | 904 | case CPU_24K: |
| 905 | case CPU_34K: | ||
| 905 | case CPU_5KC: | 906 | case CPU_5KC: |
| 906 | write_c0_ecc(0x80000000); | 907 | write_c0_ecc(0x80000000); |
| 907 | back_to_back_c0_hazard(); | 908 | back_to_back_c0_hazard(); |
diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c index 4182e1176fae..4420191795f3 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) | |||
| 968 | case CPU_SB1: | 968 | case CPU_SB1: |
| 969 | break; | 969 | break; |
| 970 | case CPU_24K: | 970 | case CPU_24K: |
| 971 | case CPU_34K: | ||
| 971 | if (!(read_c0_config7() & (1 << 16))) | 972 | if (!(read_c0_config7() & (1 << 16))) |
| 972 | default: | 973 | default: |
| 973 | if (c->dcache.waysize > PAGE_SIZE) | 974 | if (c->dcache.waysize > PAGE_SIZE) |
