From: EunBong Song Date: Mon, 5 Aug 2013 16:30:47 +0000 (+0100) Subject: swiotlb: replace dma_length with sg_dma_len() macro X-Git-Tag: v3.12-rc1~144^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d86ec7a8a3f9c135fdc34d7aed2a9467e2e6ff9;p=pandora-kernel.git swiotlb: replace dma_length with sg_dma_len() macro This patch replace dma_length in "lib/swiotlb.c" to sg_dma_len() macro, because the build error can occur if CONFIG_NEED_SG_DMA_LENGTH is not set, and CONFIG_SWIOTLB is set. Singed-off-by: EunBong Song Signed-off-by: Stefano Stabellini Signed-off-by: Konrad Rzeszutek Wilk --- Reading git-diff-tree failed