mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
mmc: fix sg->page fallout
Signed-off-by: Emil Medve <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
de26103de5
commit
4e0177647a
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue