The patch titled asm-generic: remove calling flush_write_buffers() in dma_sync_*_for_cpu has been removed from the -mm tree. Its filename was asm-generic-remove-calling-flush_write_buffers-in-dma_sync__for_cpu.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: asm-generic: remove calling flush_write_buffers() in dma_sync_*_for_cpu From: Ming Lei <tom.leiming@xxxxxxxxx> dma_sync_*_for_cpu() is introduced to make cpu access dma buffers safely when dma transfer is over, it seems there is nothing to do with cpu write buffer, so remove it. Signed-off-by: Ming Lei <tom.leiming@xxxxxxxxx> Cc: Arnd Bergmann <arnd@xxxxxxxx> Cc: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx> Cc: Joerg Roedel <joerg.roedel@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/asm-generic/dma-mapping-common.h | 3 --- 1 file changed, 3 deletions(-) diff -puN include/asm-generic/dma-mapping-common.h~asm-generic-remove-calling-flush_write_buffers-in-dma_sync__for_cpu include/asm-generic/dma-mapping-common.h --- a/include/asm-generic/dma-mapping-common.h~asm-generic-remove-calling-flush_write_buffers-in-dma_sync__for_cpu +++ a/include/asm-generic/dma-mapping-common.h @@ -103,7 +103,6 @@ static inline void dma_sync_single_for_c if (ops->sync_single_for_cpu) ops->sync_single_for_cpu(dev, addr, size, dir); debug_dma_sync_single_for_cpu(dev, addr, size, dir); - flush_write_buffers(); } static inline void dma_sync_single_for_device(struct device *dev, @@ -132,7 +131,6 @@ static inline void dma_sync_single_range ops->sync_single_range_for_cpu(dev, addr, offset, size, dir); debug_dma_sync_single_range_for_cpu(dev, addr, offset, size, dir); - flush_write_buffers(); } else dma_sync_single_for_cpu(dev, addr, size, dir); } @@ -165,7 +163,6 @@ dma_sync_sg_for_cpu(struct device *dev, if (ops->sync_sg_for_cpu) ops->sync_sg_for_cpu(dev, sg, nelems, dir); debug_dma_sync_sg_for_cpu(dev, sg, nelems, dir); - flush_write_buffers(); } static inline void _ Patches currently in -mm which might be from tom.leiming@xxxxxxxxx are linux-next.patch drivers-video-add-kmalloc-null-tests.patch drivers-video-add-kmalloc-null-tests-fix.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html