projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de26103
)
mmc: fix sg->page fallout
author
Emil Medve
<Emilian.Medve@Freescale.com>
Tue, 23 Oct 2007 18:37:24 +0000
(20:37 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Tue, 23 Oct 2007 18:37:24 +0000
(20:37 +0200)
Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/mmc/host/mmci.h
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/host/mmci.h
b/drivers/mmc/host/mmci.h
index 000e6a9197828f38a0a69492bb47fa290738d733..0f39c490f022086dc6e8c8cd99c789252ae6ea27 100644
(file)
--- a/
drivers/mmc/host/mmci.h
+++ b/
drivers/mmc/host/mmci.h
@@
-169,7
+169,7
@@
static inline char *mmci_kmap_atomic(struct mmci_host *host, unsigned long *flag
struct scatterlist *sg = host->sg_ptr;
local_irq_save(*flags);
- return kmap_atomic(sg
->page
, KM_BIO_SRC_IRQ) + sg->offset;
+ return kmap_atomic(sg
_page(sg)
, KM_BIO_SRC_IRQ) + sg->offset;
}
static inline void mmci_kunmap_atomic(struct mmci_host *host, void *buffer, unsigned long *flags)