summaryrefslogtreecommitdiffstats
path: root/fs/filesystems.c
diff options
context:
space:
mode:
authorBecky Bruce2008-12-22 19:26:09 +0100
committerIngo Molnar2008-12-28 10:06:47 +0100
commitfb05a37929e0cd99016b4f5e5a5ef077fb10a947 (patch)
tree154b9d0d3b984a03480f54d00f82f56fb3407d2f /fs/filesystems.c
parentswiotlb: store phys address in io_tlb_orig_addr array (diff)
downloadkernel-qcow2-linux-fb05a37929e0cd99016b4f5e5a5ef077fb10a947.tar.gz
kernel-qcow2-linux-fb05a37929e0cd99016b4f5e5a5ef077fb10a947.tar.xz
kernel-qcow2-linux-fb05a37929e0cd99016b4f5e5a5ef077fb10a947.zip
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 'fs/filesystems.c')
0 files changed, 0 insertions, 0 deletions