[PATCH 0/2] fixups for generic implementation of pfn_valid()

From: Mike Rapoport
Date: Tue Feb 14 2023 - 09:09:33 EST


From: "Mike Rapoport (IBM)" <rppt@xxxxxxxxxx>

Hi,

Guenter reported boot failures on m68k-nommu and sh caused by the switch to
the generic implementation of pfn_valid():

https://lore.kernel.org/all/20230212173513.GA4052259@xxxxxxxxxxxx
https://lore.kernel.org/all/20230212161320.GA3784076@xxxxxxxxxxxx

These are small fixups on top of mm-stable that address the issues.

Mike Rapoport (IBM) (2):
m68k/nommu: add missing definition of ARCH_PFN_OFFSET
sh: initialize max_mapnr

arch/m68k/include/asm/page_no.h | 2 ++
arch/sh/mm/init.c | 1 +
2 files changed, 3 insertions(+)


base-commit: f67d6b26649379f8520abe6a6c7ed335310bf01e
--
2.35.1