[PATCH] arm64: mm: only initialize swiotlb when necessary
Jisheng Zhang
jszhang at marvell.com
Sun Jun 12 00:14:55 PDT 2016
Dear Catalin,
On Wed, 8 Jun 2016 13:13:56 +0100 Catalin Marinas wrote:
> On Wed, Jun 08, 2016 at 03:53:46PM +0800, Jisheng Zhang wrote:
> > --- a/arch/arm64/mm/dma-mapping.c
> > +++ b/arch/arm64/mm/dma-mapping.c
> > @@ -19,6 +19,7 @@
> >
> > #include <linux/gfp.h>
> > #include <linux/acpi.h>
> > +#include <linux/bootmem.h>
> > #include <linux/export.h>
> > #include <linux/slab.h>
> > #include <linux/genalloc.h>
>
> Why is this include needed?
>
This is for max_pfn
Thanks,
Jisheng
More information about the linux-arm-kernel
mailing list