[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1272371140-6085-1-git-send-email-fujita.tomonori@lab.ntt.co.jp>
Date: Tue, 27 Apr 2010 21:25:34 +0900
From: FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>
To: akpm@...ux-foundation.org
Cc: fujita.tomonori@....ntt.co.jp, linux-arch@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH -mm 0/6] remove unnecessary sync_single_range_* in dma_map_ops
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-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists