Re: [PATCH 1/3] mm: Move lowmem_page_address() a little later

From: Andrew Morton
Date: Thu Apr 04 2024 - 14:25:25 EST


On Thu, 4 Apr 2024 21:36:34 +0800 Huacai Chen <chenhuacai@xxxxxxxxxxx> wrote:

> LoongArch will override page_to_virt() which use page_address() in the
> KFENCE case (by defining WANT_PAGE_VIRTUAL/HASHED_PAGE_VIRTUAL). So move
> lowmem_page_address() a little later to avoid such build errors:
>
> error: implicit declaration of function 'page_address'.
>

Acked-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>

Please ensure that it spends adequate time in linux-next for the
compilation testing.