dma-mapping: make the global coherent pool conditional
authorChristoph Hellwig <hch@lst.de>
Thu, 24 Jun 2021 17:37:00 +0000 (19:37 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 19 Aug 2021 07:02:39 +0000 (09:02 +0200)
commit22f9feb49950885cdb6e37513f134d154175e743
tree1d97634e3e96d7c1734b9ac4fbec32f739bc5e19
parent39a2d3506b2d53c569a6db13d65b2f3728c4feec
dma-mapping: make the global coherent pool conditional

Only build the code to support the global coherent pool if support for
it is enabled.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Dillon Min <dillon.minfei@gmail.com>
include/linux/dma-map-ops.h
kernel/dma/coherent.c