Re: [PATCH] powerpc/kexec_file: fix implicit decl error

2023-02-15 Thread Michael Ellerman
On Sat, 4 Feb 2023 09:22:06 -0800, Randy Dunlap wrote: > kexec (PPC64) code calls memory_hotplug_max(). Add the header declaration > for it from . Using does not work since > the #include for depends on CONFIG_NUMA=y, which is not > set in this kernel config file. > > Fixes this build

Re: [PATCH] powerpc/kexec_file: fix implicit decl error

2023-02-05 Thread Sourabh Jain
On 04/02/23 22:52, Randy Dunlap wrote: kexec (PPC64) code calls memory_hotplug_max(). Add the header declaration for it from . Using does not work since the #include for depends on CONFIG_NUMA=y, which is not set in this kernel config file. I didn't realize that linux/mmzone.h includes

[PATCH] powerpc/kexec_file: fix implicit decl error

2023-02-04 Thread Randy Dunlap
kexec (PPC64) code calls memory_hotplug_max(). Add the header declaration for it from . Using does not work since the #include for depends on CONFIG_NUMA=y, which is not set in this kernel config file. Fixes this build error/warning: ../arch/powerpc/kexec/file_load_64.c: In function