swiotlb: wire up ->dma_supported in swiotlb_dma_ops
authorChristoph Hellwig <hch@lst.de>
Sun, 24 Dec 2017 14:07:34 +0000 (15:07 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 15 Jan 2018 08:35:46 +0000 (09:35 +0100)
commitaaf796dc6e84e809e4c791b6517326b26312c972
tree0b8da8fe4ad1ce537431d06230ab8120d6776566
parent251533eb35b22f9e87a440b14c6f20e2626397b3
swiotlb: wire up ->dma_supported in swiotlb_dma_ops

To properly reject too small DMA masks based on the addressability of the
bounce buffer.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Christian König <christian.koenig@amd.com>
lib/swiotlb.c