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/tmio_mmc.h | |
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/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, | |||
105 | unsigned long *flags) | 105 | unsigned long *flags) |
106 | { | 106 | { |
107 | local_irq_save(*flags); | 107 | local_irq_save(*flags); |
108 | return kmap_atomic(sg_page(sg), KM_BIO_SRC_IRQ) + sg->offset; | 108 | return kmap_atomic(sg_page(sg)) + sg->offset; |
109 | } | 109 | } |
110 | 110 | ||
111 | static inline void tmio_mmc_kunmap_atomic(struct scatterlist *sg, | 111 | static inline void tmio_mmc_kunmap_atomic(struct scatterlist *sg, |
112 | unsigned long *flags, void *virt) | 112 | unsigned long *flags, void *virt) |
113 | { | 113 | { |
114 | kunmap_atomic(virt - sg->offset, KM_BIO_SRC_IRQ); | 114 | kunmap_atomic(virt - sg->offset); |
115 | local_irq_restore(*flags); | 115 | local_irq_restore(*flags); |
116 | } | 116 | } |
117 | 117 | ||