[Build Errors] kho: '‘HPAGE_PMD_ORDER’ undeclared'
Manuel Ebner <[email protected]> Mon, 03 Aug 2026 20:12:40 +0200
| Newsgroups | org.kernel.vger.linux-next,org.infradead.lists.kexec,org.kernel.vger.linux-kernel,org.kvack.linux-mm |
|---|---|
| Message-ID | <[email protected]> |
Hi,
when building next-20260803 I get build errors, see below.
I assume it's one of the last 3 commits by Pratyush. Let me know
if you need more info.
Thanks
Manuel
$make KCFLAGS=3D-Werror -j8 > make_output.txt
In file included from ./include/linux/nodemask.h:92,
from ./include/linux/numa.h:6,
from ./include/linux/cpumask.h:15,
from ./arch/x86/include/asm/paravirt.h:19,
from ./arch/x86/include/asm/irqflags.h:100,
from ./include/linux/irqflags.h:18,
from ./arch/x86/include/asm/special_insns.h:10,
from ./arch/x86/include/asm/io.h:45,
from ./include/linux/io.h:12,
from kernel/liveupdate/kho_block.c:23:
./include/linux/kexec_handover.h: In function =E2=80=98kho_scratch_migratet=
ype=E2=80=99:
./include/linux/pageblock-flags.h:66:53: error: =E2=80=98HPAGE_PMD_ORDER=E2=
=80=99 undeclared (first use in this function)
66 | #define pageblock_order MIN_T(unsigned int, HPAGE_PMD_ORDER=
, PAGE_BLOCK_MAX_ORDER)
| ^~~~~~~~~~~~~~~
./include/linux/minmax.h:83:27: note: in definition of macro =E2=80=98__cmp=
=E2=80=99
83 | #define __cmp(op, x, y) ((x) __cmp_op_##op (y) ? (x) : (y))
| ^
./include/linux/pageblock-flags.h:66:33: note: in expansion of macro =E2=80=
=98MIN_T=E2=80=99
66 | #define pageblock_order MIN_T(unsigned int, HPAGE_PMD_ORDER=
, PAGE_BLOCK_MAX_ORDER)
| ^~~~~
And a couple more notes.