patch-2.1.76 linux/drivers/scsi/ncr53c8xx.c

Next file: linux/drivers/scsi/st.c
Previous file: linux/drivers/pci/pci.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.75/linux/drivers/scsi/ncr53c8xx.c linux/drivers/scsi/ncr53c8xx.c
@@ -9359,8 +9359,7 @@
 #if defined(__i386) && !defined(MODULE)
 	if ((driver_setup.pci_fix_up & 1) &&
 	    (chip->features & FE_CLSE) && cache_line_size == 0) {
-		extern char x86;
-		switch(x86) {
+	    	switch(boot_cpu_data.x86) {
 		case 4:	cache_line_size = 4; break;
 		case 5:	cache_line_size = 8; break;
 		}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov