* [PATCH 10/60] ata: remove the second argument of k[un]map_atomic()
[not found] <1328852421-19678-1-git-send-email-amwang@redhat.com>
@ 2012-02-10 5:39 ` Cong Wang
2012-02-10 5:39 ` [PATCH 15/60] ide: " Cong Wang
1 sibling, 0 replies; 2+ messages in thread
From: Cong Wang @ 2012-02-10 5:39 UTC (permalink / raw)
To: linux-kernel; +Cc: Andrew Morton, Cong Wang, Jeff Garzik, linux-ide
Acked-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Cong Wang <amwang@redhat.com>
---
drivers/ata/libata-sff.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/ata/libata-sff.c b/drivers/ata/libata-sff.c
index 9691dd0..d8af325 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);
--
1.7.7.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 15/60] ide: remove the second argument of k[un]map_atomic()
[not found] <1328852421-19678-1-git-send-email-amwang@redhat.com>
2012-02-10 5:39 ` [PATCH 10/60] ata: remove the second argument of k[un]map_atomic() Cong Wang
@ 2012-02-10 5:39 ` Cong Wang
1 sibling, 0 replies; 2+ messages in thread
From: Cong Wang @ 2012-02-10 5:39 UTC (permalink / raw)
To: linux-kernel; +Cc: Andrew Morton, Cong Wang, David S. Miller, linux-ide
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
---
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);
--
1.7.7.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-02-10 5:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1328852421-19678-1-git-send-email-amwang@redhat.com>
2012-02-10 5:39 ` [PATCH 10/60] ata: remove the second argument of k[un]map_atomic() Cong Wang
2012-02-10 5:39 ` [PATCH 15/60] ide: " Cong Wang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).