|
@@ -862,15 +862,6 @@ static void decode_configs(struct cpuinfo_mips *c)
|
|
|
|
|
|
mips_probe_watch_registers(c);
|
|
|
|
|
|
- if (cpu_has_rixi) {
|
|
|
- /* Enable the RIXI exceptions */
|
|
|
- set_c0_pagegrain(PG_IEC);
|
|
|
- back_to_back_c0_hazard();
|
|
|
- /* Verify the IEC bit is set */
|
|
|
- if (read_c0_pagegrain() & PG_IEC)
|
|
|
- c->options |= MIPS_CPU_RIXIEX;
|
|
|
- }
|
|
|
-
|
|
|
#ifndef CONFIG_MIPS_CPS
|
|
|
if (cpu_has_mips_r2_r6) {
|
|
|
c->core = get_ebase_cpunum();
|
|
@@ -1733,6 +1724,15 @@ void cpu_probe(void)
|
|
|
*/
|
|
|
BUG_ON(current_cpu_type() != c->cputype);
|
|
|
|
|
|
+ if (cpu_has_rixi) {
|
|
|
+ /* Enable the RIXI exceptions */
|
|
|
+ set_c0_pagegrain(PG_IEC);
|
|
|
+ back_to_back_c0_hazard();
|
|
|
+ /* Verify the IEC bit is set */
|
|
|
+ if (read_c0_pagegrain() & PG_IEC)
|
|
|
+ c->options |= MIPS_CPU_RIXIEX;
|
|
|
+ }
|
|
|
+
|
|
|
if (mips_fpu_disabled)
|
|
|
c->options &= ~MIPS_CPU_FPU;
|
|
|
|