[RFC PATCH 5/7] swiotlb: Use physical addresses for swiotlb_tbl_unmap_single

2012-10-03 Thread Alexander Duyck
This change makes it so that the unmap functionality also uses physical addresses. This helps to further reduce the use of virt_to_phys and phys_to_virt functions. Signed-off-by: Alexander Duyck --- drivers/xen/swiotlb-xen.c |4 ++-- include/linux/swiotlb.h |3 ++- lib/swiotlb.c

[RFC PATCH 5/7] swiotlb: Use physical addresses for swiotlb_tbl_unmap_single

2012-10-03 Thread Alexander Duyck
This change makes it so that the unmap functionality also uses physical addresses. This helps to further reduce the use of virt_to_phys and phys_to_virt functions. Signed-off-by: Alexander Duyck alexander.h.du...@intel.com --- drivers/xen/swiotlb-xen.c |4 ++-- include/linux/swiotlb.h |