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

From: Huacai Chen
Date: Fri Apr 05 2024 - 05:21:45 EST


On Fri, Apr 5, 2024 at 2:25 AM Andrew Morton <akpm@linux-foundationorg> wrote:
>
> 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.
OK, thanks.

Huacai