On 29.01.23 13:42, Mike Rapoport wrote:
From: "Mike Rapoport (IBM)" <r...@kernel.org>

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) <r...@kernel.org>
Reviewed-by: Geert Uytterhoeven <ge...@linux-m68k.org>
Acked-by: Geert Uytterhoeven <ge...@linux-m68k.org>
---

Reviewed-by: David Hildenbrand <da...@redhat.com>

--
Thanks,

David / dhildenb


_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc

Reply via email to