[Build Errors] kho: '‘HPAGE_PMD_ORDER’ undeclared'
Manuel Ebner
manuelebnerli at mailbox.org
Mon Aug 3 11:12:40 PDT 2026
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=-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 ‘kho_scratch_migratetype’:
./include/linux/pageblock-flags.h:66:53: error: ‘HPAGE_PMD_ORDER’ 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 ‘__cmp’
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 ‘MIN_T’
66 | #define pageblock_order MIN_T(unsigned int, HPAGE_PMD_ORDER, PAGE_BLOCK_MAX_ORDER)
| ^~~~~
And a couple more notes.
More information about the kexec
mailing list