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

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

diff -urN linux-2.4.21/arch/mips/vr41xx/common/pciu.c linux-2.4.22/arch/mips/vr41xx/common/pciu.c
@@ -262,7 +262,7 @@
 	/* Clear bus error */
 	n = readl(BUSERRADREG);
 
-	if (mips_cpu.cputype == CPU_VR4122) {
+	if (current_cpu_data.cputype == CPU_VR4122) {
 		writel(0UL, PCITRDYVREG);
 		pciu_write_config_dword(PCI_CACHE_LINE_SIZE, 0x0000f804);
 	} else {

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