]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
arm64: mm: explicity include linux/vmalloc.h
authorTobias Klauser <tklauser@distanz.ch>
Mon, 15 May 2017 11:40:20 +0000 (13:40 +0200)
committerWill Deacon <will.deacon@arm.com>
Tue, 30 May 2017 10:07:42 +0000 (11:07 +0100)
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.

Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/mm/mmu.c

index 0c429ec6fde810721f0bf8eff0aad0b822e64849..23c2d89a362e4423f62c732b290015d23211f38e 100644 (file)
@@ -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>