aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2018-10-17 11:18:27 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2018-10-19 17:25:08 +1100
commit46cf72d63775b715ecc9c32c3edc00119ffcd97a (patch)
treea3a0b82ba35d2a0ff18720a35739e0a212455cab
parent69f4e17c771276081f728297d9cc9e045875f83d (diff)
download96b-common-46cf72d63775b715ecc9c32c3edc00119ffcd97a.tar.gz
dma-direct: fix up for the removal of linux/bootmem.h
Link: http://lkml.kernel.org/r/20181002185342.133d1680@canb.auug.org.au Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
-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 87a6bc2a96c0..ab28eb99bbf1 100644
--- a/kernel/dma/direct.c
+++ b/kernel/dma/direct.c
@@ -4,7 +4,7 @@
*
* DMA operations that map physical memory directly without using an IOMMU.
*/
-#include <linux/bootmem.h> /* for max_pfn */
+#include <linux/memblock.h> /* for max_pfn */
#include <linux/export.h>
#include <linux/mm.h>
#include <linux/dma-direct.h>