Commit 45b408d2 authored by Cong Wang's avatar Cong Wang Committed by Cong Wang

ide: remove the second argument of k[un]map_atomic()

Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarCong Wang <amwang@redhat.com>
parent 1c9c20f6
...@@ -253,7 +253,7 @@ void ide_pio_bytes(ide_drive_t *drive, struct ide_cmd *cmd, ...@@ -253,7 +253,7 @@ void ide_pio_bytes(ide_drive_t *drive, struct ide_cmd *cmd,
if (page_is_high) if (page_is_high)
local_irq_save(flags); local_irq_save(flags);
buf = kmap_atomic(page, KM_BIO_SRC_IRQ) + offset; buf = kmap_atomic(page) + offset;
cmd->nleft -= nr_bytes; cmd->nleft -= nr_bytes;
cmd->cursg_ofs += nr_bytes; cmd->cursg_ofs += nr_bytes;
...@@ -269,7 +269,7 @@ void ide_pio_bytes(ide_drive_t *drive, struct ide_cmd *cmd, ...@@ -269,7 +269,7 @@ void ide_pio_bytes(ide_drive_t *drive, struct ide_cmd *cmd,
else else
hwif->tp_ops->input_data(drive, cmd, buf, nr_bytes); hwif->tp_ops->input_data(drive, cmd, buf, nr_bytes);
kunmap_atomic(buf, KM_BIO_SRC_IRQ); kunmap_atomic(buf);
if (page_is_high) if (page_is_high)
local_irq_restore(flags); local_irq_restore(flags);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment