mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
ide: remove the second argument of k[un]map_atomic()
Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Cong Wang <amwang@redhat.com>
This commit is contained in:
parent
1c9c20f602
commit
45b408d2ef
1 changed files with 2 additions and 2 deletions
|
@ -253,7 +253,7 @@ void ide_pio_bytes(ide_drive_t *drive, struct ide_cmd *cmd,
|
|||
if (page_is_high)
|
||||
local_irq_save(flags);
|
||||
|
||||
buf = kmap_atomic(page, KM_BIO_SRC_IRQ) + offset;
|
||||
buf = kmap_atomic(page) + offset;
|
||||
|
||||
cmd->nleft -= nr_bytes;
|
||||
cmd->cursg_ofs += nr_bytes;
|
||||
|
@ -269,7 +269,7 @@ void ide_pio_bytes(ide_drive_t *drive, struct ide_cmd *cmd,
|
|||
else
|
||||
hwif->tp_ops->input_data(drive, cmd, buf, nr_bytes);
|
||||
|
||||
kunmap_atomic(buf, KM_BIO_SRC_IRQ);
|
||||
kunmap_atomic(buf);
|
||||
|
||||
if (page_is_high)
|
||||
local_irq_restore(flags);
|
||||
|
|
Loading…
Reference in a new issue