On Wed, 18 Dec 2019, David Abdurachmanov wrote:
> pfn_to_page & page_to_pfn depend on vmemmap being available before the calls
> if kernel is configured with CONFIG_SPARSEMEM_VMEMMAP=y. This was caused
> by NOMMU changes which moved vmemmap definition bellow functions definitions
> calling pfn_to_page & page_to_pfn.
>
> Noticed while compiled 5.5-rc2 kernel for Fedora/RISCV.
>
> v2:
> - Add a comment for vmemmap in source
>
> Signed-off-by: David Abdurachmanov <[email protected]>
> Fixes: 6bd33e1ece52 ("riscv: add nommu support")
> Reviewed-by: Anup Patel <[email protected]>
This looks like it was due to my error when resolving the merge conflicts,
not Christoph's. Queued for v5.5-rc, thanks David.
- Paul