From: Manuel Ebner <manuelebnerli@mailbox.org>
To: linux-next@vger.kernel.org, Pratyush Yadav <pratyush@kernel.org>,
Mike Rapoport <rppt@kernel.org>,
Pasha Tatashin <pasha.tatashin@soleen.com>,
Pratyush Yadav <pratyush@kernel.org>,
Alexander Graf <graf@amazon.com>,
Muchun Song <muchun.song@linux.dev>,
Oscar Salvador <osalvador@suse.de>,
David Hildenbrand <david@kernel.org>,
Andrew Morton <akpm@linux-foundation.org>,
Jason Miu <jasonmiu@google.com>,
Jork Loeser <jloeser@linux.microsoft.com>
Cc: kexec@lists.infradead.org, linux-mm@kvack.org,
linux-kernel@vger.kernel.org,
Manuel Ebner <manuelebner@mailbox.org>
Subject: [Build Errors] kho: '‘HPAGE_PMD_ORDER’ undeclared'
Date: Mon, 03 Aug 2026 20:12:40 +0200 [thread overview]
Message-ID: <27a9ca7bf4d354e97b0865af8222490cf44f27e7.camel@mailbox.org> (raw)
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.
reply other threads:[~2026-08-03 18:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=27a9ca7bf4d354e97b0865af8222490cf44f27e7.camel@mailbox.org \
--to=manuelebnerli@mailbox.org \
--cc=akpm@linux-foundation.org \
--cc=david@kernel.org \
--cc=graf@amazon.com \
--cc=jasonmiu@google.com \
--cc=jloeser@linux.microsoft.com \
--cc=kexec@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux-next@vger.kernel.org \
--cc=manuelebner@mailbox.org \
--cc=muchun.song@linux.dev \
--cc=osalvador@suse.de \
--cc=pasha.tatashin@soleen.com \
--cc=pratyush@kernel.org \
--cc=rppt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox