mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 13:41:51 +00:00
0a0f0d8be7
Split out all the bits that are purely for dma_map_ops implementations and related code into a new <linux/dma-map-ops.h> header so that they don't get pulled into all the drivers. That also means the architecture specific <asm/dma-mapping.h> is not pulled in by <linux/dma-mapping.h> any more, which leads to a missing includes that were pulled in by the x86 or arm versions in a few not overly portable drivers. Signed-off-by: Christoph Hellwig <hch@lst.de>
10 lines
245 B
C
10 lines
245 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
#include <linux/dma-map-ops.h>
|
|
#include <linux/export.h>
|
|
|
|
/* Set this to 1 if there is a HW IOMMU in the system */
|
|
int iommu_detected __read_mostly;
|
|
|
|
const struct dma_map_ops *dma_ops;
|
|
EXPORT_SYMBOL(dma_ops);
|