Remove unchecked_isa_dma references in scsi_scan.c Instead we rely on the block layer bouncing here. This is safe because all ISA DMA drivers have been converted to set a suitable bounce pfn. Also scanning is not performance critical, so a copy more or less doesn't matter. Signed-off-by: Andi Kleen <ak@xxxxxxxxxxxxxxx> --- drivers/scsi/scsi_scan.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) Index: linux/drivers/scsi/scsi_scan.c =================================================================== --- linux.orig/drivers/scsi/scsi_scan.c 2008-11-15 22:37:08.000000000 +0100 +++ linux/drivers/scsi/scsi_scan.c 2008-11-15 22:37:12.000000000 +0100 @@ -1028,8 +1028,7 @@ if (!sdev) goto out; - result = kmalloc(result_len, GFP_ATOMIC | - ((shost->unchecked_isa_dma) ? __GFP_DMA : 0)); + result = kmalloc(result_len, GFP_ATOMIC); if (!result) goto out_free_sdev; @@ -1348,8 +1347,7 @@ * prevent us from finding any LUNs on this target. */ length = (max_scsi_report_luns + 1) * sizeof(struct scsi_lun); - lun_data = kmalloc(length, GFP_ATOMIC | - (sdev->host->unchecked_isa_dma ? __GFP_DMA : 0)); + lun_data = kmalloc(length, GFP_ATOMIC); if (!lun_data) { printk(ALLOC_FAILURE_MSG, __func__); goto out; -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html