This patchset removes useless sync_single_range_for_cpu and sync_single_range_for_device hooks in dma_map_ops. These hooks were for dma_sync_single_range_* DMA API, however, the API became obsolete (the description in DMA API docs was removed too). Architecutres should use sync_single_for_cpu and sync_single_for_device hooks instead (as DMA API docs say, they need to support a partial sync). We could remove dma_sync_single_range_* DMA API completely (no user in -mm) but the API had been until 2.6.34-rc so I guess that it might be better to leave it alone for some time. The first patch is a bug fix and might be 2.6.34-rc material however the API is not so popular (only net/b44.c uses) and we are already in -rc5. I guess that it would be fine to merge it in the next merge window. = arch/ia64/kernel/pci-swiotlb.c | 2 - arch/powerpc/kernel/dma-swiotlb.c | 4 +- arch/powerpc/kernel/dma.c | 12 +++++----- arch/x86/kernel/pci-swiotlb.c | 2 - include/asm-generic/dma-mapping-common.h | 20 +----------------- include/linux/dma-mapping.h | 10 --------- include/linux/swiotlb.h | 10 --------- lib/swiotlb.c | 31 ------------------------------ 8 files changed, 10 insertions(+), 81 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html