commit | bc40ac66988a7721f2a244b6df65f8c13d16479c | [log] [tgz] |
---|---|---|
author | Becky Bruce <beckyb@kernel.crashing.org> | Mon Dec 22 10:26:08 2008 -0800 |
committer | Ingo Molnar <mingo@elte.hu> | Sun Dec 28 10:03:12 2008 +0100 |
tree | 581396233451acf0b372df0ba75b3d9014e991e9 | |
parent | 70a7d3cc1308a55104fbe505d76f2aca8a4cf53e [diff] |
swiotlb: store phys address in io_tlb_orig_addr array Impact: refactor code, cleanup When we enable swiotlb for platforms that support HIGHMEM, we can no longer store the virtual address of the original dma buffer, because that buffer might not have a permament mapping. Change the swiotlb code to instead store the physical address of the original buffer. Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>