diff options
author | Joerg Roedel <jroedel@suse.de> | 2019-02-07 12:59:14 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2019-03-06 11:19:06 -0500 |
commit | 492366f7b4237257ef50ca9c431a6a0d50225aca (patch) | |
tree | 7d867810eb10e65b5b5de8d1d569a89351127c7b /kernel/dma/direct.c | |
parent | abe420bfae528c92bd8cc5ecb62dc95672b1fd6f (diff) | |
download | linux-492366f7b4237257ef50ca9c431a6a0d50225aca.tar.bz2 |
swiotlb: Add is_swiotlb_active() function
This function will be used from dma_direct code to determine
the maximum segment size of a dma mapping.
Cc: stable@vger.kernel.org
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'kernel/dma/direct.c')
0 files changed, 0 insertions, 0 deletions