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

Pavel Tatashin
2021-01-21T02:18:47Z

> 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.