From patchwork Sun Nov 27 05:26:55 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [15/62] ide: remove the second argument of k[un]map_atomic() X-Patchwork-Submitter: Amerigo Wang X-Patchwork-Id: 127849 X-Patchwork-Delegate: davem@davemloft.net Message-Id: <1322371662-26166-16-git-send-email-amwang@redhat.com> To: linux-kernel@vger.kernel.org Cc: akpm@linux-foundation.org, Cong Wang , "David S. Miller" , linux-ide@vger.kernel.org Date: Sun, 27 Nov 2011 13:26:55 +0800 From: Cong Wang List-Id: Signed-off-by: Cong Wang Acked-by: David S. Miller --- drivers/ide/ide-taskfile.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/ide/ide-taskfile.c b/drivers/ide/ide-taskfile.c index 5bc2839..729428e 100644 --- a/drivers/ide/ide-taskfile.c +++ b/drivers/ide/ide-taskfile.c @@ -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);