From: Jeff Garzik <jgarzik@pobox.com>
To: Cong Wang <amwang@redhat.com>
Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org,
linux-ide@vger.kernel.org
Subject: Re: [PATCH 10/62] ata: remove the second argument of k[un]map_atomic()
Date: Sun, 27 Nov 2011 13:40:00 -0500 [thread overview]
Message-ID: <4ED28400.9090501@pobox.com> (raw)
In-Reply-To: <1322371662-26166-11-git-send-email-amwang@redhat.com>
On 11/27/2011 12:26 AM, Cong Wang wrote:
> 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 4cadfa2..8469cb5 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 {
Acked-by: Jeff Garzik <jgarzik@redhat.com>
next prev parent reply other threads:[~2011-11-27 18:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1322371662-26166-1-git-send-email-amwang@redhat.com>
2011-11-27 5:26 ` [PATCH 10/62] ata: remove the second argument of k[un]map_atomic() Cong Wang
2011-11-27 18:40 ` Jeff Garzik [this message]
2011-11-28 10:01 ` Sergei Shtylyov
2011-11-28 11:42 ` Cong Wang
2011-11-28 11:49 ` Cong Wang
2011-11-28 19:00 ` James Bottomley
2011-11-29 3:25 ` Cong Wang
2011-11-27 5:26 ` [PATCH 15/62] ide: " Cong Wang
2011-11-27 6:12 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4ED28400.9090501@pobox.com \
--to=jgarzik@pobox.com \
--cc=akpm@linux-foundation.org \
--cc=amwang@redhat.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).