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

Message ID 20230214140729.1649961-1-rppt@kernel.org
Headers
Series fixups for generic implementation of pfn_valid() |

Message

Mike Rapoport Feb. 14, 2023, 2:07 p.m. UTC
  From: "Mike Rapoport (IBM)" <rppt@kernel.org>

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@roeck-us.net
https://lore.kernel.org/all/20230212161320.GA3784076@roeck-us.net

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