Tip build error
I pulled the CVS tip yesterday and had problems building it for ATLAS because of the changes to the set_cp0_config arguments. Patch below to arch/mips/mm/mips32.c of how I fixed this. I think this is the intended new use?
mips32.c Thu Mar 29 13:34:36 2001 renamed from mips32.c.orig Thu Mar 29 13:29:29 2001 +3 -2
@@ -1051,10 +1051,11 @@ printk("CPU revision is: %08x\n", read_32bit_cp0_register(CP0_PRID)); + clear_cp0_config(CONF_CM_CMASK); #ifdef CONFIG_MIPS_UNCACHED - set_cp0_config(CONF_CM_CMASK, CONF_CM_UNCACHED); + set_cp0_config(CONF_CM_UNCACHED); #else - set_cp0_config(CONF_CM_CMASK, CONF_CM_CACHABLE_NONCOHERENT); + set_cp0_config(CONF_CM_CACHABLE_NONCOHERENT); #endif probe_icache(config);
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Brady Brown ([email protected]) Work:(801)619-6103
Texas Instruments: Broadband Access Group
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Quoted 4 lines · Brady Brown
I pulled the CVS tip yesterday and had problems building it for ATLAS because of the changes to the
set_cp0_configarguments. Patch below toarch/mips/mm/mips32.cof how I fixed this. I think this is the intended new use?
No, set_cp0_status only sets bits, clear_cp0_status clears bits, change_cp0_status is the old set_cp0_status function.
I fixed this in CVS.
Ralf