patch-2.1.80 linux/drivers/block/acsi.c

Next file: linux/drivers/block/ide-dma.c
Previous file: linux/drivers/block/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.79/linux/drivers/block/acsi.c linux/drivers/block/acsi.c
@@ -1784,8 +1784,8 @@
 		return -EBUSY;
 	}
 
-	if (!(acsi_buffer = (char *)__get_free_pages(GFP_KERNEL,
-						     ACSI_BUFFER_ORDER, 1))) {
+	if (!(acsi_buffer = (char *)__get_free_pages(GFP_KERNEL | GFP_DMA,
+						     ACSI_BUFFER_ORDER))) {
 		printk( KERN_ERR "Unable to get ACSI ST-Ram buffer.\n" );
 		unregister_blkdev( MAJOR_NR, "ad" );
 		return -ENOMEM;

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