aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/dma/direct.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-09-22 15:34:22 +0200
committerChristoph Hellwig <hch@lst.de>2020-10-06 07:07:06 +0200
commit19c65c3d30bb5a97170e425979d2e44ab2096c7d (patch)
tree89f4a287f94c7f5a584e8de147789f08ec45a592 /kernel/dma/direct.c
parentdma-mapping: move dma-debug.h to kernel/dma/ (diff)
downloadlinux-dev-19c65c3d30bb5a97170e425979d2e44ab2096c7d.tar.xz
linux-dev-19c65c3d30bb5a97170e425979d2e44ab2096c7d.zip
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.c2
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