linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [scsi] Remove __GFP_DMA
@ 2007-05-21 15:15 Bernhard Walle
  2007-05-22 21:44 ` Christoph Lameter
  0 siblings, 1 reply; 18+ messages in thread
From: Bernhard Walle @ 2007-05-21 15:15 UTC (permalink / raw)
  To: linux-scsi; +Cc: Andrew Morton, linux-kernel, James Bottomley

[PATCH] [scsi] Remove __GFP_DMA

After 821de3a27bf33f11ec878562577c586cd5f83c64, it's not necessary to alloate a
DMA buffer any more in sd.c.

Signed-off-by: Bernhard Walle <bwalle@suse.de>

---
 drivers/scsi/sd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/scsi/sd.c
+++ b/drivers/scsi/sd.c
@@ -1515,7 +1515,7 @@ static int sd_revalidate_disk(struct gen
 	if (!scsi_device_online(sdp))
 		goto out;
 
-	buffer = kmalloc(SD_BUF_SIZE, GFP_KERNEL | __GFP_DMA);
+	buffer = kmalloc(SD_BUF_SIZE, GFP_KERNEL);
 	if (!buffer) {
 		sd_printk(KERN_WARNING, sdkp, "sd_revalidate_disk: Memory "
 			  "allocation failure.\n");

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2007-05-27 19:46 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <fa.6bUV4KR+za7HW4tT2WBlccqvoq0@ifi.uio.no>
     [not found] ` <fa.NYl60pD1cwd1ESdKNCPaOwSz1WA@ifi.uio.no>
     [not found]   ` <fa.hW9tQQfgwmXj0gAKQoWXOxVzpvk@ifi.uio.no>
     [not found]     ` <fa.xLFpJ54sTvGq6YIol2Ew31Rrq2s@ifi.uio.no>
     [not found]       ` <fa.JZsPKKyEKOAfxp6reMY5ZwSNjQU@ifi.uio.no>
     [not found]         ` <fa.txrEcCPLxIukzeVBv7UG39WubcI@ifi.uio.no>
2007-05-24  5:28           ` [PATCH] [scsi] Remove __GFP_DMA Robert Hancock
2007-05-24 10:08             ` Alan Cox
2007-05-21 15:15 Bernhard Walle
2007-05-22 21:44 ` Christoph Lameter
2007-05-23  2:41   ` Aubrey Li
2007-05-23 15:18     ` James Bottomley
2007-05-23 15:55       ` Robert P. J. Day
2007-05-23 16:17         ` James Bottomley
2007-05-23 19:17       ` Salyzyn, Mark
2007-05-23 19:38         ` Alan Cox
2007-05-27 19:46           ` James Bottomley
2007-05-24 13:24     ` Salyzyn, Mark
2007-05-24 14:59       ` James Bottomley
2007-05-24 17:00         ` Christoph Lameter
2007-05-24 17:15           ` James Bottomley
2007-05-24 17:22             ` Christoph Lameter
2007-05-24 17:26               ` James Bottomley
2007-05-24 16:59       ` Christoph Lameter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).