Skip to content

Commit 45b408d

Browse files
Cong Wangcongwang
authored andcommitted
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>
1 parent 1c9c20f commit 45b408d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/ide/ide-taskfile.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ void ide_pio_bytes(ide_drive_t *drive, struct ide_cmd *cmd,
253253
if (page_is_high)
254254
local_irq_save(flags);
255255

256-
buf = kmap_atomic(page, KM_BIO_SRC_IRQ) + offset;
256+
buf = kmap_atomic(page) + offset;
257257

258258
cmd->nleft -= nr_bytes;
259259
cmd->cursg_ofs += nr_bytes;
@@ -269,7 +269,7 @@ void ide_pio_bytes(ide_drive_t *drive, struct ide_cmd *cmd,
269269
else
270270
hwif->tp_ops->input_data(drive, cmd, buf, nr_bytes);
271271

272-
kunmap_atomic(buf, KM_BIO_SRC_IRQ);
272+
kunmap_atomic(buf);
273273

274274
if (page_is_high)
275275
local_irq_restore(flags);

0 commit comments

Comments
 (0)