* Tip build error
@ 2001-03-29 20:44 Brady Brown
2001-03-31 1:12 ` Ralf Baechle
0 siblings, 1 reply; 2+ messages in thread
From: Brady Brown @ 2001-03-29 20:44 UTC (permalink / raw)
To: SGI news group
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.orig Thu Mar 29 13:29:29 2001
+++ mips32.c Thu Mar 29 13:34:36 2001
@@ -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 (bbrown@ti.com) Work:(801)619-6103
Texas Instruments: Broadband Access Group
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Tip build error
2001-03-29 20:44 Tip build error Brady Brown
@ 2001-03-31 1:12 ` Ralf Baechle
0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2001-03-31 1:12 UTC (permalink / raw)
To: Brady Brown; +Cc: SGI news group
On Thu, Mar 29, 2001 at 01:44:52PM -0700, Brady Brown wrote:
> 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?
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-03-31 1:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-29 20:44 Tip build error Brady Brown
2001-03-31 1:12 ` Ralf Baechle
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.