aboutsummaryrefslogtreecommitdiff
path: root/net/bluetooth
diff options
context:
space:
mode:
authorBecky Bruce <beckyb@kernel.crashing.org>2008-12-22 10:26:09 -0800
committerIngo Molnar <mingo@elte.hu>2008-12-28 10:06:47 +0100
commitfb05a37929e0cd99016b4f5e5a5ef077fb10a947 (patch)
tree154b9d0d3b984a03480f54d00f82f56fb3407d2f /net/bluetooth
parentbc40ac66988a7721f2a244b6df65f8c13d16479c (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 'net/bluetooth')
0 files changed, 0 insertions, 0 deletions