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

Every architecture that supports FLATMEM memory model defines its own
version of pfn_valid() that essentially compares a pfn to max_mapnr.

Use mips/powerpc version implemented as static inline as a generic
implementation of pfn_valid() and drop its per-architecture definitions.

Signed-off-by: Mike Rapoport (IBM) <r...@kernel.org>
Acked-by: Arnd Bergmann <a...@arndb.de>
Acked-by: Guo Ren <guo...@kernel.org>             # csky
Acked-by: Huacai Chen <chenhua...@loongson.cn>    # LoongArch
Acked-by: Stafford Horne <sho...@gmail.com>       # OpenRISC
---

LGTM with the fixup

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