Re: [PATCH] arm64: mm: only initialize swiotlb when necessary

From: Catalin Marinas
Date: Wed Jun 08 2016 - 08:14:14 EST


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?

--
Catalin