On 06/05/2013 04:23 PM, Jonas Gorski wrote:
if (cpu_has_mmips) { unsigned int config3 = read_c0_config3(); if (IS_ENABLED(CONFIG_CPU_MICROMIPS)) write_c0_config3(config3 | MIPS_CONF3_ISA_OE); else write_c0_config3(config3 & ~MIPS_CONF3_ISA_OE); }
I like this being in 'trap_init' instead. Any objections?