diff options
author | Becky Bruce <beckyb@kernel.crashing.org> | 2008-12-22 10:26:09 -0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-28 10:06:47 +0100 |
commit | fb05a37929e0cd99016b4f5e5a5ef077fb10a947 (patch) | |
tree | 154b9d0d3b984a03480f54d00f82f56fb3407d2f /arch | |
parent | bc40ac66988a7721f2a244b6df65f8c13d16479c (diff) |
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 <jeremy.fitzhardinge@citrix.com> ]
Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions