Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [patch] cpu-probe for VR41XX
@ 2003-04-24  3:35 Yoichi Yuasa
  2003-04-24 12:03 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Yoichi Yuasa @ 2003-04-24  3:35 UTC (permalink / raw)
  To: ralf; +Cc: yuasa, linux-mips

Hi Ralf,

I found a problem in cpu-probe.c .
NEC VR4100 series do not have ll and sc.


for v2.4
--- ./arch/mips/kernel/cpu-probe.c.orig Thu Apr 24 10:50:53 2003
+++ ./arch/mips/kernel/cpu-probe.c      Thu Apr 24 12:33:06 2003
@@ -244,7 +244,7 @@
                                break;
                        }
                         current_cpu_data.isa_level = MIPS_CPU_ISA_III;
-                        current_cpu_data.options = R4K_OPTS | MIPS_CPU_LLSC;
+                        current_cpu_data.options = R4K_OPTS;
                         current_cpu_data.tlbsize = 32;
                         break;
                case PRID_IMP_R4300:


for v2.5
--- ./arch/mips/kernel/cpu-probe.c.orig Thu Apr 24 10:52:04 2003
+++ ./arch/mips/kernel/cpu-probe.c      Thu Apr 24 12:34:31 2003
@@ -244,7 +244,7 @@
                                break;
                        }
                         current_cpu_data.isa_level = MIPS_CPU_ISA_III;
-                        current_cpu_data.options = R4K_OPTS | MIPS_CPU_LLSC;
+                        current_cpu_data.options = R4K_OPTS;
                         current_cpu_data.tlbsize = 32;
                         break;
                case PRID_IMP_R4300:


--
Yoichi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-24 12:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-24  3:35 [patch] cpu-probe for VR41XX Yoichi Yuasa
2003-04-24 12:03 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox