From: Arnd Bergmann Date: Tue, 11 Dec 2018 10:05:46 +0000 (+0100) Subject: arm64: kexec_file: include linux/vmalloc.h X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=732291c4fab8b790847aa572703c01ad483b14d0;p=openwrt%2Fstaging%2Fblogic.git arm64: kexec_file: include linux/vmalloc.h This is needed for compilation in some configurations that don't include it implicitly: arch/arm64/kernel/machine_kexec_file.c: In function 'arch_kimage_file_post_load_cleanup': arch/arm64/kernel/machine_kexec_file.c:37:2: error: implicit declaration of function 'vfree'; did you mean 'kvfree'? [-Werror=implicit-function-declaration] Fixes: 52b2a8af7436 ("arm64: kexec_file: load initrd and device-tree") Signed-off-by: Arnd Bergmann Signed-off-by: Will Deacon --- diff --git a/arch/arm64/kernel/machine_kexec_file.c b/arch/arm64/kernel/machine_kexec_file.c index 3c2c8a687149..10e33860e47a 100644 --- a/arch/arm64/kernel/machine_kexec_file.c +++ b/arch/arm64/kernel/machine_kexec_file.c @@ -19,6 +19,7 @@ #include #include #include +#include #include /* relevant device tree properties */