aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2018-10-04 07:55:17 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2018-10-05 15:57:18 +1000
commitb1b5728d644254db8df7d995ab172990456ab6c6 (patch)
treea4d3cbae224e76eeebf4b98c4e31702215d68f49
parent49353a51a758e423c08d600eafb1aa410e48b6bc (diff)
download96b-common-b1b5728d644254db8df7d995ab172990456ab6c6.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 674a8da22844..65872f6c2e93 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>