* [PATCH] arm64: kexec_file: include linux/vmalloc.h
@ 2018-12-11 10:05 Arnd Bergmann
2018-12-11 10:37 ` Will Deacon
0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2018-12-11 10:05 UTC (permalink / raw)
To: Catalin Marinas, Will Deacon
Cc: Arnd Bergmann, AKASHI Takahiro, James Morse, linux-arm-kernel,
linux-kernel
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>
---
arch/arm64/kernel/machine_kexec_file.c | 1 +
1 file changed, 1 insertion(+)
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 */
--
2.20.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] arm64: kexec_file: include linux/vmalloc.h
2018-12-11 10:05 [PATCH] arm64: kexec_file: include linux/vmalloc.h Arnd Bergmann
@ 2018-12-11 10:37 ` Will Deacon
0 siblings, 0 replies; 2+ messages in thread
From: Will Deacon @ 2018-12-11 10:37 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Catalin Marinas, AKASHI Takahiro, James Morse, linux-arm-kernel,
linux-kernel
On Tue, Dec 11, 2018 at 11:05:46AM +0100, Arnd Bergmann wrote:
> 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>
> ---
> arch/arm64/kernel/machine_kexec_file.c | 1 +
> 1 file changed, 1 insertion(+)
>
> 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 */
Cheers Arnd, I'll pick this up today.
Will
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-12-11 10:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-11 10:05 [PATCH] arm64: kexec_file: include linux/vmalloc.h Arnd Bergmann
2018-12-11 10:37 ` Will Deacon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).