swiotlb-xen: replace dma_length with sg_dma_len() macro
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Mon, 5 Aug 2013 16:30:48 +0000 (17:30 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 9 Aug 2013 15:29:00 +0000 (11:29 -0400)
commit781575cd8127c30a0444953bcd0b6d1e882df13e
treec23bbab4ab2ff532721e55f083651172c655aada
parent4d86ec7a8a3f9c135fdc34d7aed2a9467e2e6ff9
swiotlb-xen: replace dma_length with sg_dma_len() macro

swiotlb-xen has an implicit dependency on CONFIG_NEED_SG_DMA_LENGTH.
Remove it by replacing dma_length with sg_dma_len.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/swiotlb-xen.c