提交 a6123f14 编写于 作者: B Bernhard Walle 提交者: James Bottomley

[SCSI] sd: remove __GFP_DMA

After 821de3a2, it's not necessary to
alloate a DMA buffer any more in sd.c.
Signed-off-by: NBernhard Walle <bwalle@suse.de>
Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
上级 352e921f
......@@ -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");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册