On 29.01.23 13:42, Mike Rapoport wrote:
From: "Mike Rapoport (IBM)" <[email protected]>

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) <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Acked-by: Guo Ren <[email protected]>             # csky
Acked-by: Huacai Chen <[email protected]>    # LoongArch
Acked-by: Stafford Horne <[email protected]>       # OpenRISC
---

LGTM with the fixup

Reviewed-by: David Hildenbrand <[email protected]>

--
Thanks,

David / dhildenb

Reply via email to