Re: [PATCH v4 19/21] memblock: make HugeTLB bootmem allocation work with KHO
From: Mike Rapoport
Date: Tue Jul 28 2026 - 14:03:43 EST
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.