linux-mips
[Top] [All Lists]

[patch] cpu-probe for VR41XX

To: ralf@linux-mips.org
Subject: [patch] cpu-probe for VR41XX
From: Yoichi Yuasa <yuasa@hh.iij4u.or.jp>
Date: Thu, 24 Apr 2003 12:35:20 +0900
Cc: yuasa@hh.iij4u.or.jp, linux-mips@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
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

<Prev in Thread] Current Thread [Next in Thread>