patch-2.2.0-pre2 linux/drivers/scsi/scsi.h

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

diff -u --recursive --new-file v2.2.0-pre1/linux/drivers/scsi/scsi.h linux/drivers/scsi/scsi.h
@@ -319,7 +319,7 @@
 #define ASKED_FOR_SENSE 0x20
 
 
-#ifdef __mc68000__
+#if defined(__mc68000__) || defined(CONFIG_APUS)
 #include <asm/pgtable.h>
 #define CONTIGUOUS_BUFFERS(X,Y) \
 	(virt_to_phys((X)->b_data+(X)->b_size-1)+1==virt_to_phys((Y)->b_data))

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