diff options
author | Christoph Hellwig <hch@lst.de> | 2020-09-22 16:34:22 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-10-06 08:07:06 +0300 |
commit | 19c65c3d30bb5a97170e425979d2e44ab2096c7d (patch) | |
tree | 89f4a287f94c7f5a584e8de147789f08ec45a592 /kernel/dma/direct.c | |
parent | a1fd09e8e6ae35228ecc7c1e4bfff1fd725f78a0 (diff) | |
download | linux-19c65c3d30bb5a97170e425979d2e44ab2096c7d.tar.xz |
dma-mapping: move large parts of <linux/dma-direct.h> to kernel/dma
Most of the dma_direct symbols should only be used by direct.c and
mapping.c, so move them to kernel/dma. In fact more of dma-direct.h
should eventually move, but that will require more coordination with
other subsystems.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'kernel/dma/direct.c')
-rw-r--r-- | kernel/dma/direct.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/dma/direct.c b/kernel/dma/direct.c index 87697c86f0b8..bf9f77623022 100644 --- a/kernel/dma/direct.c +++ b/kernel/dma/direct.c @@ -7,13 +7,13 @@ #include <linux/memblock.h> /* for max_pfn */ #include <linux/export.h> #include <linux/mm.h> -#include <linux/dma-direct.h> #include <linux/dma-map-ops.h> #include <linux/scatterlist.h> #include <linux/pfn.h> #include <linux/vmalloc.h> #include <linux/set_memory.h> #include <linux/slab.h> +#include "direct.h" /* * Most architectures use ZONE_DMA for the first 16 Megabytes, but some use it |