mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
Update arch/ to use sg helpers
Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
f9527f121b
commit
58b053e4ce
23 changed files with 55 additions and 67 deletions
|
|
@ -465,7 +465,7 @@ EXPORT_SYMBOL(pci_free_consistent);
|
|||
Write dma_length of each leader with the combined lengths of
|
||||
the mergable followers. */
|
||||
|
||||
#define SG_ENT_VIRT_ADDRESS(SG) (page_address((SG)->page) + (SG)->offset)
|
||||
#define SG_ENT_VIRT_ADDRESS(SG) (sg_virt((SG)))
|
||||
#define SG_ENT_PHYS_ADDRESS(SG) __pa(SG_ENT_VIRT_ADDRESS(SG))
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Reference in a new issue