Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=a6123f142924a5e21f6d48e6e3c67d9060726caa
Commit:     a6123f142924a5e21f6d48e6e3c67d9060726caa
Parent:     352e921f0dd42f79652cdb50dd91122d068d7209
Author:     Bernhard Walle <[EMAIL PROTECTED]>
AuthorDate: Mon May 21 17:15:26 2007 +0200
Committer:  James Bottomley <[EMAIL PROTECTED]>
CommitDate: Thu May 24 09:09:09 2007 -0500

    [SCSI] sd: remove __GFP_DMA
    
    After 821de3a27bf33f11ec878562577c586cd5f83c64, it's not necessary to
    alloate a DMA buffer any more in sd.c.
    
    Signed-off-by: Bernhard Walle <[EMAIL PROTECTED]>
    Signed-off-by: James Bottomley <[EMAIL PROTECTED]>
---
 drivers/scsi/sd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c
index 00e4666..f071b9e 100644
--- a/drivers/scsi/sd.c
+++ b/drivers/scsi/sd.c
@@ -1515,7 +1515,7 @@ static int sd_revalidate_disk(struct gendisk *disk)
        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");
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to