[PATCH] arm64: mm: explicity include linux/vmalloc.h

Ard Biesheuvel ard.biesheuvel at linaro.org
Thu May 18 02:45:13 PDT 2017


On 15 May 2017 at 12:40, Tobias Klauser <tklauser at distanz.ch> wrote:
> arm64's mm/mmu.c uses vm_area_add_early, struct vm_area and other
> definitions  but relies on implict inclusion of linux/vmalloc.h which
> means that changes in other headers could break the build. Thus, add an
> explicit include.
>
> Signed-off-by: Tobias Klauser <tklauser at distanz.ch>

Acked-by: Ard Biesheuvel <ard.biesheuvel at linaro.org>

> ---
>  arch/arm64/mm/mmu.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/mm/mmu.c b/arch/arm64/mm/mmu.c
> index 0c429ec6fde8..23c2d89a362e 100644
> --- a/arch/arm64/mm/mmu.c
> +++ b/arch/arm64/mm/mmu.c
> @@ -31,6 +31,7 @@
>  #include <linux/fs.h>
>  #include <linux/io.h>
>  #include <linux/mm.h>
> +#include <linux/vmalloc.h>
>
>  #include <asm/barrier.h>
>  #include <asm/cputype.h>
> --
> 2.13.0
>
>



More information about the linux-arm-kernel mailing list