Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Brady Brown <bbrown@ti.com>
To: SGI news group <linux-mips@oss.sgi.com>
Subject: Tip build error
Date: Thu, 29 Mar 2001 13:44:52 -0700	[thread overview]
Message-ID: <3AC39EC4.BB1E24B8@ti.com> (raw)

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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

             reply	other threads:[~2001-03-29 20:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-29 20:44 Brady Brown [this message]
2001-03-31  1:12 ` Tip build error Ralf Baechle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3AC39EC4.BB1E24B8@ti.com \
    --to=bbrown@ti.com \
    --cc=linux-mips@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox