]> git.baikalelectronics.ru Git - kernel.git/commit
dma-direct: remove dma_direct_{alloc,free}_pages
authorChristoph Hellwig <hch@lst.de>
Mon, 17 Aug 2020 15:06:40 +0000 (17:06 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 11 Sep 2020 07:10:29 +0000 (09:10 +0200)
commit75c5954e82b9609b23d05d3da15c1305748b8b54
tree244fc04e7926e48cf0faae79dbe3250ec3f00ef3
parent89868763138f39777134b4fcea0e09d50dda19d2
dma-direct: remove dma_direct_{alloc,free}_pages

Just merge these helpers into the main dma_direct_{alloc,free} routines,
as the additional checks are always false for the two callers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
arch/x86/kernel/amd_gart_64.c
include/linux/dma-direct.h
kernel/dma/direct.c
kernel/dma/pool.c