]> 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)
commitbf8c640921b734090ecc7223c542e1f7aa01de55
tree244fc04e7926e48cf0faae79dbe3250ec3f00ef3
parent29f8f95c72ca8b46e86f8bc5c736440c31d7e2f5
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