Re: [PATCH] loongarch/pgtable.h: move {dmw,tlb}_virt_to_page() to page.h

From: Max Kellermann
Date: Sun Mar 10 2024 - 06:22:36 EST


On Sun, Mar 10, 2024 at 2:14 AM Huacai Chen <chenhuacai@xxxxxxxxxx> wrote:
> Could you please share what kind of configuration will cause a build error?

With the current kernel, I found none; the problem is masked currently
due to the current order of include directives, but it caused problems
during my attempts to clean up linux/mm.h - see
https://lore.kernel.org/lkml/20240305085919.1601395-1-max.kellermann@xxxxxxxxx/
for the most recent submission; a later (not-yet-submitted) version of
the series which reproduces the problem can be found here:
https://github.com/MaxKellermann/linux/commits/mm.h/

I saw this problem with "randconfig KCONFIG_SEED=0x5D8A9172" - config attached.

Max

Attachment: .config
Description: Binary data