Re: [PATCH v6 09/14] mm/gup: migrate pinned pages out of movable zone

From: Pavel Tatashin
Date: Wed Jan 20 2021 - 22:21:29 EST


> h8300-linux-ld: arch/h8300/kernel/entry.o: in function `resume_kernel':
> (.text+0x29e): undefined reference to `TI_PRE_COUNT'
> h8300-linux-ld: mm/gup.o: in function `.Llt6':
> >> gup.c:(.text+0x79e): undefined reference to `zero_pfn'

is_zero_pfn() is defined outside CONFIG_MMU, but uses zero_pfn, which
is declared in memory.c which is compiled with CONFIG_MMU.