Skip to content

Commit 0b1abd1

Browse files
author
Christoph Hellwig
committed
dma-mapping: merge <linux/dma-contiguous.h> into <linux/dma-map-ops.h>
Merge dma-contiguous.h into dma-map-ops.h, after removing the comment describing the contiguous allocator into kernel/dma/contigous.c. Signed-off-by: Christoph Hellwig <[email protected]>
1 parent 580a0cc commit 0b1abd1

File tree

28 files changed

+112
-164
lines changed

28 files changed

+112
-164
lines changed

Documentation/admin-guide/kernel-parameters.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@
597597
placement constraint by the physical address range of
598598
memory allocations. A value of 0 disables CMA
599599
altogether. For more information, see
600-
include/linux/dma-contiguous.h
600+
kernel/dma/contiguous.c
601601

602602
cma_pernuma=nn[MG]
603603
[ARM64,KNL]

arch/arm/mach-davinci/devices-da8xx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include <linux/clk-provider.h>
1111
#include <linux/clk.h>
1212
#include <linux/clkdev.h>
13-
#include <linux/dma-contiguous.h>
13+
#include <linux/dma-map-ops.h>
1414
#include <linux/dmaengine.h>
1515
#include <linux/init.h>
1616
#include <linux/io.h>

arch/arm/mach-shmobile/setup-rcar-gen2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#include <linux/clocksource.h>
1111
#include <linux/device.h>
12-
#include <linux/dma-contiguous.h>
12+
#include <linux/dma-map-ops.h>
1313
#include <linux/io.h>
1414
#include <linux/kernel.h>
1515
#include <linux/memblock.h>

arch/arm/mm/dma-mapping.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#include <linux/dma-direct.h>
1818
#include <linux/dma-map-ops.h>
1919
#include <linux/dma-noncoherent.h>
20-
#include <linux/dma-contiguous.h>
2120
#include <linux/highmem.h>
2221
#include <linux/memblock.h>
2322
#include <linux/slab.h>

arch/arm/mm/init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#include <linux/highmem.h>
1919
#include <linux/gfp.h>
2020
#include <linux/memblock.h>
21-
#include <linux/dma-contiguous.h>
21+
#include <linux/dma-map-ops.h>
2222
#include <linux/sizes.h>
2323
#include <linux/stop_machine.h>
2424
#include <linux/swiotlb.h>

arch/arm64/mm/init.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
#include <linux/of.h>
2222
#include <linux/of_fdt.h>
2323
#include <linux/dma-direct.h>
24-
#include <linux/dma-mapping.h>
25-
#include <linux/dma-contiguous.h>
24+
#include <linux/dma-map-ops.h>
2625
#include <linux/efi.h>
2726
#include <linux/swiotlb.h>
2827
#include <linux/vmalloc.h>

arch/csky/kernel/setup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include <linux/of.h>
88
#include <linux/of_fdt.h>
99
#include <linux/start_kernel.h>
10-
#include <linux/dma-contiguous.h>
10+
#include <linux/dma-map-ops.h>
1111
#include <linux/screen_info.h>
1212
#include <asm/sections.h>
1313
#include <asm/mmu_context.h>

arch/csky/mm/dma-mapping.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
33

44
#include <linux/cache.h>
5-
#include <linux/dma-mapping.h>
6-
#include <linux/dma-contiguous.h>
5+
#include <linux/dma-map-ops.h>
76
#include <linux/dma-noncoherent.h>
87
#include <linux/genalloc.h>
98
#include <linux/highmem.h>

arch/microblaze/mm/init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* for more details.
88
*/
99

10-
#include <linux/dma-contiguous.h>
10+
#include <linux/dma-map-ops.h>
1111
#include <linux/memblock.h>
1212
#include <linux/init.h>
1313
#include <linux/kernel.h>

arch/mips/kernel/setup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include <linux/kexec.h>
2525
#include <linux/sizes.h>
2626
#include <linux/device.h>
27-
#include <linux/dma-contiguous.h>
27+
#include <linux/dma-map-ops.h>
2828
#include <linux/decompress/generic.h>
2929
#include <linux/of_fdt.h>
3030
#include <linux/of_reserved_mem.h>

0 commit comments

Comments
 (0)