Commit a45e52bf authored by Lukas Bulwahn's avatar Lukas Bulwahn Committed by Christoph Hellwig
Browse files

dma-mapping: update comment after dmabounce removal



Commit e3217540 ("ARM/dma-mapping: remove dmabounce") removes the
config DMABOUNCE. A comment to the function __dma_page_cpu_to_dev() refers
to this removed config DMABOUNCE.

Remove the obsolete explanation, but keep the recommendation not to use
__dma_page_cpu_to_dev() and use dma_sync_* functions instead.

Signed-off-by: default avatarLukas Bulwahn <lukas.bulwahn@gmail.com>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent c9337ad4
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -679,8 +679,7 @@ static void dma_cache_maint_page(struct page *page, unsigned long offset,


/*
/*
 * Make an area consistent for devices.
 * Make an area consistent for devices.
 * Note: Drivers should NOT use this function directly, as it will break
 * Note: Drivers should NOT use this function directly.
 * platforms with CONFIG_DMABOUNCE.
 * Use the driver DMA support - see dma-mapping.h (dma_sync_*)
 * Use the driver DMA support - see dma-mapping.h (dma_sync_*)
 */
 */
static void __dma_page_cpu_to_dev(struct page *page, unsigned long off,
static void __dma_page_cpu_to_dev(struct page *page, unsigned long off,