[PATCH v4 19/21] memblock: make HugeTLB bootmem allocation work with KHO

Mike Rapoport rppt at kernel.org
Tue Jul 28 10:45:36 PDT 2026


On Sat, Jul 25, 2026 at 07:21:19PM +0200, Pratyush Yadav wrote:
>
> diff --git a/mm/memblock.c b/mm/memblock.c
> index 8b2e551435ae..ff470fd0fd10 100644
> --- a/mm/memblock.c
> +++ b/mm/memblock.c
> @@ -19,11 +19,9 @@
>  #include <linux/mutex.h>
>  #include <linux/string_helpers.h>
>  
> -#ifdef CONFIG_KEXEC_HANDOVER
>  #include <linux/libfdt.h>
>  #include <linux/kexec_handover.h>
>  #include <linux/kho/abi/memblock.h>
> -#endif /* CONFIG_KEXEC_HANDOVER */

This breaks memblock tests, can you please add stubs for these in
tools/testing/memblock?
  
-- 
Sincerely yours,
Mike.



More information about the kexec mailing list