diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-12-11 11:05:46 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2018-12-11 10:37:38 +0000 |
commit | 732291c4fab8b790847aa572703c01ad483b14d0 (patch) | |
tree | 6450d10c6a66d802017fe975468e0b5f5695d46a | |
parent | 4a1daf29d33d766a1a6f03015b93bfb01b93f46e (diff) | |
download | linux-stable-732291c4fab8b790847aa572703c01ad483b14d0.tar.gz linux-stable-732291c4fab8b790847aa572703c01ad483b14d0.tar.bz2 linux-stable-732291c4fab8b790847aa572703c01ad483b14d0.zip |
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 <arnd@arndb.de>
Signed-off-by: Will Deacon <will.deacon@arm.com>
-rw-r--r-- | arch/arm64/kernel/machine_kexec_file.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 <linux/random.h> #include <linux/string.h> #include <linux/types.h> +#include <linux/vmalloc.h> #include <asm/byteorder.h> /* relevant device tree properties */ |