[PATCH v2 2/4] m68k: use asm-generic/memory_model.h for both MMU and !MMU

David Hildenbrand david at redhat.com
Sat Feb 4 01:31:10 AEDT 2023


On 29.01.23 13:42, Mike Rapoport wrote:
> From: "Mike Rapoport (IBM)" <rppt at 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) <rppt at kernel.org>
> Reviewed-by: Geert Uytterhoeven <geert at linux-m68k.org>
> Acked-by: Geert Uytterhoeven <geert at linux-m68k.org>
> ---

Reviewed-by: David Hildenbrand <david at redhat.com>

-- 
Thanks,

David / dhildenb



More information about the Linuxppc-dev mailing list