From: Becky Bruce Date: Mon, 22 Dec 2008 18:26:09 +0000 (-0800) Subject: swiotlb: add support for systems with highmem X-Git-Tag: v2.6.29-rc1~226^2~1^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb05a37929e0cd99016b4f5e5a5ef077fb10a947;p=pandora-kernel.git swiotlb: add support for systems with highmem Impact: extend code for highmem - existing users unaffected On highmem systems, the original dma buffer might not have a virtual mapping - we need to kmap it in to perform the bounce. Extract the code that does the actual copy into a function that does the kmap if highmem is enabled, and default to the normal swiotlb memcpy if not. [ ported by Jeremy Fitzhardinge ] Signed-off-by: Becky Bruce Signed-off-by: Jeremy Fitzhardinge Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed