summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCong Wang <amwang@redhat.com>2011-11-25 23:14:18 +0800
committerCong Wang <xiyou.wangcong@gmail.com>2012-03-20 21:48:16 +0800
commit496cda8e75d90301cb1e6bbebea643c6bac1e6d6 (patch)
tree8bae689fd2755dadce9a28ec6b6ff3a367b4ab15
parentf0dfc0b0b7f3d961da8a98bcfccc8be9107a848b (diff)
downloadlinux-3.10-496cda8e75d90301cb1e6bbebea643c6bac1e6d6.tar.gz
linux-3.10-496cda8e75d90301cb1e6bbebea643c6bac1e6d6.tar.bz2
linux-3.10-496cda8e75d90301cb1e6bbebea643c6bac1e6d6.zip
ata: remove the second argument of k[un]map_atomic()
Acked-by: Jeff Garzik <jgarzik@redhat.com> Signed-off-by: Cong Wang <amwang@redhat.com>
-rw-r--r--drivers/ata/libata-sff.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/ata/libata-sff.c b/drivers/ata/libata-sff.c
index 9691dd0966d..d8af325a6bd 100644
--- a/drivers/ata/libata-sff.c
+++ b/drivers/ata/libata-sff.c
@@ -720,13 +720,13 @@ static void ata_pio_sector(struct ata_queued_cmd *qc)
/* FIXME: use a bounce buffer */
local_irq_save(flags);
- buf = kmap_atomic(page, KM_IRQ0);
+ buf = kmap_atomic(page);
/* do the actual data transfer */
ap->ops->sff_data_xfer(qc->dev, buf + offset, qc->sect_size,
do_write);
- kunmap_atomic(buf, KM_IRQ0);
+ kunmap_atomic(buf);
local_irq_restore(flags);
} else {
buf = page_address(page);
@@ -865,13 +865,13 @@ next_sg:
/* FIXME: use bounce buffer */
local_irq_save(flags);
- buf = kmap_atomic(page, KM_IRQ0);
+ buf = kmap_atomic(page);
/* do the actual data transfer */
consumed = ap->ops->sff_data_xfer(dev, buf + offset,
count, rw);
- kunmap_atomic(buf, KM_IRQ0);
+ kunmap_atomic(buf);
local_irq_restore(flags);
} else {
buf = page_address(page);