On 29.01.23 13:42, Mike Rapoport wrote:
From: "Mike Rapoport (IBM)" <[email protected]>
The MMU variant uses generic definitions of page_to_pfn() and
pfn_to_page(), but !MMU defines them in include/asm/page_no.h for no
good reason.
Include asm-generic/memory_model.h in the common include/asm/page.h and
drop redundant definitions.
Signed-off-by: Mike Rapoport (IBM) <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Acked-by: Geert Uytterhoeven <[email protected]>
---
Reviewed-by: David Hildenbrand <[email protected]>
--
Thanks,
David / dhildenb