[patch] cpu-probe for VR41XX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux