All of lore.kernel.org
 help / color / mirror / Atom feed
* 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

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.