diff options
author | Cong Wang <amwang@redhat.com> | 2011-11-27 09:27:00 +0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-01-12 08:58:42 +0400 |
commit | 482fce997e143a8d5429406fe066d31aa76ef70a (patch) | |
tree | 00239e0bb360a137e9d261ce1be39faf9628c92e /drivers/mmc/host/tmio_mmc.h | |
parent | d1f81a64a4250bdd776978be06ae2b8e13ec7471 (diff) | |
download | linux-482fce997e143a8d5429406fe066d31aa76ef70a.tar.xz |
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/tmio_mmc.h')
-rw-r--r-- | drivers/mmc/host/tmio_mmc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/host/tmio_mmc.h b/drivers/mmc/host/tmio_mmc.h index 3020f98218f0..a95e6d901726 100644 --- a/drivers/mmc/host/tmio_mmc.h +++ b/drivers/mmc/host/tmio_mmc.h @@ -105,13 +105,13 @@ static inline char *tmio_mmc_kmap_atomic(struct scatterlist *sg, unsigned long *flags) { local_irq_save(*flags); - return kmap_atomic(sg_page(sg), KM_BIO_SRC_IRQ) + sg->offset; + return kmap_atomic(sg_page(sg)) + sg->offset; } static inline void tmio_mmc_kunmap_atomic(struct scatterlist *sg, unsigned long *flags, void *virt) { - kunmap_atomic(virt - sg->offset, KM_BIO_SRC_IRQ); + kunmap_atomic(virt - sg->offset); local_irq_restore(*flags); } |