diff options
author | Cong Wang <amwang@redhat.com> | 2011-11-27 00:27:00 -0500 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-01-11 23:58:42 -0500 |
commit | 482fce997e143a8d5429406fe066d31aa76ef70a (patch) | |
tree | 00239e0bb360a137e9d261ce1be39faf9628c92e /drivers/mmc/host/msm_sdcc.c | |
parent | d1f81a64a4250bdd776978be06ae2b8e13ec7471 (diff) |
mmc: remove the second argument of k[un]map_atomic()
Signed-off-by: Cong Wang <amwang@redhat.com>
Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/msm_sdcc.c')
-rw-r--r-- | drivers/mmc/host/msm_sdcc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mmc/host/msm_sdcc.c b/drivers/mmc/host/msm_sdcc.c index 475596653c19..1d14cda95e56 100644 --- a/drivers/mmc/host/msm_sdcc.c +++ b/drivers/mmc/host/msm_sdcc.c | |||
@@ -689,8 +689,8 @@ msmsdcc_pio_irq(int irq, void *dev_id) | |||
689 | 689 | ||
690 | /* Map the current scatter buffer */ | 690 | /* Map the current scatter buffer */ |
691 | local_irq_save(flags); | 691 | local_irq_save(flags); |
692 | buffer = kmap_atomic(sg_page(host->pio.sg), | 692 | buffer = kmap_atomic(sg_page(host->pio.sg)) |
693 | KM_BIO_SRC_IRQ) + host->pio.sg->offset; | 693 | + host->pio.sg->offset; |
694 | buffer += host->pio.sg_off; | 694 | buffer += host->pio.sg_off; |
695 | remain = host->pio.sg->length - host->pio.sg_off; | 695 | remain = host->pio.sg->length - host->pio.sg_off; |
696 | len = 0; | 696 | len = 0; |
@@ -700,7 +700,7 @@ msmsdcc_pio_irq(int irq, void *dev_id) | |||
700 | len = msmsdcc_pio_write(host, buffer, remain, status); | 700 | len = msmsdcc_pio_write(host, buffer, remain, status); |
701 | 701 | ||
702 | /* Unmap the buffer */ | 702 | /* Unmap the buffer */ |
703 | kunmap_atomic(buffer, KM_BIO_SRC_IRQ); | 703 | kunmap_atomic(buffer); |
704 | local_irq_restore(flags); | 704 | local_irq_restore(flags); |
705 | 705 | ||
706 | host->pio.sg_off += len; | 706 | host->pio.sg_off += len; |