From: Brian Murphy <brm@murphy.dk>
To: ralf@linux-mips.org
Cc: linux-mips@linux-mips.org
Subject: [PATCH 2.4] cpu-probe.c error
Date: Fri, 20 Jun 2003 19:02:36 +0200 [thread overview]
Message-ID: <E19TPHY-0002ih-00@brian.localnet> (raw)
Hi Ralf,
the latest change to cpu-probe.c requires a mips_cpu
variable which no longer exists. I presume you meant the following.
/Brian
Index: arch/mips/kernel/cpu-probe.c
===================================================================
RCS file: /cvs/linux/arch/mips/kernel/cpu-probe.c,v
retrieving revision 1.1.2.21
diff -u -r1.1.2.21 cpu-probe.c
--- arch/mips/kernel/cpu-probe.c 15 Jun 2003 23:35:54 -0000 1.1.2.21
+++ arch/mips/kernel/cpu-probe.c 20 Jun 2003 16:59:16 -0000
@@ -498,21 +498,21 @@
#endif
break;
default:
- mips_cpu.cputype = CPU_UNKNOWN;
+ c->cputype = CPU_UNKNOWN;
break;
}
break;
case PRID_COMP_SANDCRAFT:
- switch (mips_cpu.processor_id & 0xff00) {
+ switch (c->processor_id & 0xff00) {
case PRID_IMP_SR71000:
- mips_cpu.cputype = CPU_SR71000;
- mips_cpu.isa_level = MIPS_CPU_ISA_M64;
- mips_cpu.options = MIPS_CPU_TLB | MIPS_CPU_4KEX |
+ c->cputype = CPU_SR71000;
+ c->isa_level = MIPS_CPU_ISA_M64;
+ c->options = MIPS_CPU_TLB | MIPS_CPU_4KEX |
MIPS_CPU_4KTLB | MIPS_CPU_FPU |
MIPS_CPU_COUNTER | MIPS_CPU_MCHECK;
- mips_cpu.scache.ways = 8;
- mips_cpu.tlbsize = 64;
+ c->scache.ways = 8;
+ c->tlbsize = 64;
break;
default:
c->cputype = CPU_UNKNOWN;
next reply other threads:[~2003-06-20 17:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-20 17:02 Brian Murphy [this message]
2003-06-20 17:08 ` [PATCH 2.4] cpu-probe.c error Pete Popov
2003-06-21 9:06 ` Ladislav Michl
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=E19TPHY-0002ih-00@brian.localnet \
--to=brm@murphy.dk \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.org \
/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