patch-2.4.22 linux-2.4.22/arch/mips/vr41xx/common/cmu.c

Next file: linux-2.4.22/arch/mips/vr41xx/common/giu.c
Previous file: linux-2.4.22/arch/mips/vr41xx/common/bcu.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/arch/mips/vr41xx/common/cmu.c linux-2.4.22/arch/mips/vr41xx/common/cmu.c
@@ -66,7 +66,7 @@
 
 void __init vr41xx_cmu_init(u16 mask)
 {
-	switch (mips_cpu.cputype) {
+	switch (current_cpu_data.cputype) {
         case CPU_VR4111:
         case CPU_VR4121:
                 vr41xx_cmu_base = VR4111_CMUCLKMSK;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)